1 Return-Path: <cworth@cworth.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 14F05429E25
\r
6 for <notmuch@notmuchmail.org>; Thu, 26 May 2011 15:55:36 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0.01 tagged_above=-999 required=5
\r
12 tests=[T_MIME_NO_TEXT=0.01] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id zK3xwSNUXRdG for <notmuch@notmuchmail.org>;
\r
16 Thu, 26 May 2011 15:55:35 -0700 (PDT)
\r
17 Received: from arlo.cworth.org (arlo.cworth.org [50.43.72.2])
\r
18 by olra.theworths.org (Postfix) with ESMTP id A8B60431FB6
\r
19 for <notmuch@notmuchmail.org>; Thu, 26 May 2011 15:55:35 -0700 (PDT)
\r
20 Received: from yoom.home.cworth.org (localhost [127.0.0.1])
\r
21 by arlo.cworth.org (Postfix) with ESMTP id ADE1B29A511;
\r
22 Thu, 26 May 2011 15:55:34 -0700 (PDT)
\r
23 Received: by yoom.home.cworth.org (Postfix, from userid 1000)
\r
24 id 587F125417E; Thu, 26 May 2011 15:55:34 -0700 (PDT)
\r
25 From: Carl Worth <cworth@cworth.org>
\r
26 To: Matthias Guedemann <matthias.guedemann@ovgu.de>, notmuch@notmuchmail.org
\r
27 Subject: Re: [PATCH] fixed return value check of sysoncf in
\r
28 get_name_from_passwd_file / get_username_from_passwd_file
\r
29 In-Reply-To: <86mxibezhw.fsf@pc44es141.cs.uni-magdeburg.de>
\r
30 References: <86mxibezhw.fsf@pc44es141.cs.uni-magdeburg.de>
\r
31 User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.3.1
\r
33 Date: Thu, 26 May 2011 15:55:28 -0700
\r
34 Message-ID: <8762oxcbrz.fsf@yoom.home.cworth.org>
\r
36 Content-Type: multipart/signed; boundary="=-=-=";
\r
37 micalg=pgp-sha1; protocol="application/pgp-signature"
\r
38 X-BeenThere: notmuch@notmuchmail.org
\r
39 X-Mailman-Version: 2.1.13
\r
41 List-Id: "Use and development of the notmuch mail system."
\r
42 <notmuch.notmuchmail.org>
\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
44 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
46 List-Post: <mailto:notmuch@notmuchmail.org>
\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
49 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
50 X-List-Received-Date: Thu, 26 May 2011 22:55:36 -0000
\r
53 Content-Transfer-Encoding: quoted-printable
\r
55 On Wed, 25 May 2011 14:27:55 +0200, Matthias Guedemann <matthias.guedemann@=
\r
58 > When trying to port notmuch to DragonFlyBSD I found it core dumped
\r
59 > immediately. The reason was that the "sysconf(_SC_GETPW_R_SIZE_MAX)"
\r
60 > call returned -1 which is used for talloc memory allocation. The check
\r
61 > was there but was done _after_ the allocation, the attached patch fixes
\r
64 Thanks for the (obvious in hindsight) fix, Matthias.
\r
66 I've pushed this out now.
\r
71 carl.d.worth@intel.com
\r
74 Content-Type: application/pgp-signature
\r
76 -----BEGIN PGP SIGNATURE-----
\r
77 Version: GnuPG v1.4.11 (GNU/Linux)
\r
79 iEYEARECAAYFAk3e2mAACgkQ6JDdNq8qSWgchQCfVcypNYekCkYoLblxjZ0ByA6j
\r
80 pGQAnRKhwrA+/eNaT7TURgPNpFIuNHQ7
\r
82 -----END PGP SIGNATURE-----
\r