[PATCH v2 05/14] cli/reply: reorganize create_reply_message()
[notmuch-archives.git] / e2 / 494da770ce32d916fa6eab60b9d0ba49a3bad2
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 D8C5E4196F3\r
6         for <notmuch@notmuchmail.org>; Sat, 24 Apr 2010 06:52:38 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.89\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5\r
12         tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01]\r
13         autolearn=ham\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id ccvqygkBE62J; Sat, 24 Apr 2010 06:52:38 -0700 (PDT)\r
17 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
18         by olra.theworths.org (Postfix) with ESMTP id EC15D431FC1;\r
19         Sat, 24 Apr 2010 06:52:37 -0700 (PDT)\r
20 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
21         id AC253568DEC; Sat, 24 Apr 2010 06:52:37 -0700 (PDT)\r
22 From: Carl Worth <cworth@cworth.org>\r
23 To: Sebastian Spaeth <Sebastian@SSpaeth.de>,\r
24         Notmuch development list <notmuch@notmuchmail.org>\r
25 Subject: Re: notmuch segfault\r
26 In-Reply-To: <87d3xqti3o.fsf@SSpaeth.de>\r
27 References: <8739ym4mxk.fsf@SSpaeth.de> <87d3xqti3o.fsf@SSpaeth.de>\r
28 User-Agent: Notmuch/0.2-174-g6ddc2e0 (http://notmuchmail.org) Emacs/23.1.1\r
29         (i486-pc-linux-gnu)\r
30 Date: Sat, 24 Apr 2010 06:52:37 -0700\r
31 Message-ID: <87eii5neje.fsf@yoom.home.cworth.org>\r
32 MIME-Version: 1.0\r
33 Content-Type: multipart/signed; boundary="=-=-=";\r
34         micalg=pgp-sha1; protocol="application/pgp-signature"\r
35 X-BeenThere: notmuch@notmuchmail.org\r
36 X-Mailman-Version: 2.1.13\r
37 Precedence: list\r
38 List-Id: "Use and development of the notmuch mail system."\r
39         <notmuch.notmuchmail.org>\r
40 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
41         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
42 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
43 List-Post: <mailto:notmuch@notmuchmail.org>\r
44 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
45 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
47 X-List-Received-Date: Sat, 24 Apr 2010 13:52:39 -0000\r
48 \r
49 --=-=-=\r
50 \r
51 On Fri, 23 Apr 2010 15:26:51 +0200, "Sebastian Spaeth" <Sebastian@SSpaeth.de> wrote:\r
52 > It happened again. Both times I had pressed "G" which calls offlineimap\r
53 > and which removed messages that the notmuch database still thought are there.\r
54 \r
55 Thanks for the report, Sebastian.\r
56 \r
57 I've just audited all calls to notmuch_message_get_header and tried to\r
58 handle NULL in all cases.\r
59 \r
60 Of course, I haven't tested this thoroughly, but we'll hope that things\r
61 are better at least.\r
62 \r
63 And perhaps someday someone will hook up some exhaustive\r
64 fault-injection-based testing to catch things like this.\r
65 \r
66 -Carl\r
67 \r
68 --=-=-=\r
69 Content-Type: application/pgp-signature\r
70 \r
71 -----BEGIN PGP SIGNATURE-----\r
72 Version: GnuPG v1.4.10 (GNU/Linux)\r
73 \r
74 iD8DBQFL0vel6JDdNq8qSWgRAuJCAJ40QsUb9YRmxpniErs8uBtUzIMtZwCeIhz3\r
75 EE6kPknHOH2kSJbs9ccc8fA=\r
76 =AvUw\r
77 -----END PGP SIGNATURE-----\r
78 --=-=-=--\r