1 Return-Path: <jrollins@finestructure.net>
\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 D4A64431FD0
\r
6 for <notmuch@notmuchmail.org>; Fri, 19 Jul 2013 08:58:02 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_MED=-2.3] 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 DHGqOlwIPjFf for <notmuch@notmuchmail.org>;
\r
16 Fri, 19 Jul 2013 08:57:55 -0700 (PDT)
\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu
\r
19 by olra.theworths.org (Postfix) with ESMTP id BA490431FC2
\r
20 for <notmuch@notmuchmail.org>; Fri, 19 Jul 2013 08:57:55 -0700 (PDT)
\r
21 Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])
\r
22 by fire-doxen-postvirus (Postfix) with ESMTP id 841B12E50FB7
\r
23 for <notmuch@notmuchmail.org>; Fri, 19 Jul 2013 08:57:55 -0700 (PDT)
\r
24 X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new
\r
25 Received: from finestructure.net (lair.fifthhorseman.net [108.58.6.98])
\r
26 (Authenticated sender: jrollins)
\r
27 by fire-doxen-submit (Postfix) with ESMTP id C10D02E50F0F
\r
28 for <notmuch@notmuchmail.org>; Fri, 19 Jul 2013 08:57:53 -0700 (PDT)
\r
29 Received: by finestructure.net (Postfix, from userid 1000)
\r
30 id BB21E62962; Fri, 19 Jul 2013 08:57:52 -0700 (PDT)
\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>
\r
32 To: Notmuch Mail <notmuch@notmuchmail.org>
\r
33 Subject: Re: [PATCH] crypto: return NULL cryptoctx if protocol string is
\r
35 In-Reply-To: <1374248172-14199-1-git-send-email-jrollins@finestructure.net>
\r
36 References: <id:51E95500.8000404@fifthhorseman.net>
\r
37 <1374248172-14199-1-git-send-email-jrollins@finestructure.net>
\r
38 User-Agent: Notmuch/0.15.2+219~gbae02cc (http://notmuchmail.org) Emacs/24.3.1
\r
39 (x86_64-pc-linux-gnu)
\r
40 Date: Fri, 19 Jul 2013 08:57:52 -0700
\r
41 Message-ID: <87mwpi8run.fsf@servo.finestructure.net>
\r
43 Content-Type: multipart/signed; boundary="=-=-=";
\r
44 micalg=pgp-sha256; protocol="application/pgp-signature"
\r
45 X-BeenThere: notmuch@notmuchmail.org
\r
46 X-Mailman-Version: 2.1.13
\r
48 List-Id: "Use and development of the notmuch mail system."
\r
49 <notmuch.notmuchmail.org>
\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
51 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
53 List-Post: <mailto:notmuch@notmuchmail.org>
\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
56 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
57 X-List-Received-Date: Fri, 19 Jul 2013 15:58:03 -0000
\r
60 Content-Type: text/plain
\r
62 On Fri, Jul 19 2013, Jameson Graef Rollins <jrollins@finestructure.net> wrote:
\r
63 > Badly formed messages that don't specify a protocol in
\r
64 > signed/encrypted parts, end up with a protocol of NULL. strcasecmp in
\r
65 > notmuch_crypto_get_context then segfaults when trying to check it
\r
66 > against known protocols. If the protocol is NULL, just return an
\r
67 > empty context immediately (with appropriate message.)
\r
69 Fixes bug reported in id:87mwpiu4vi.fsf@zancas.localnet
\r
74 Content-Type: application/pgp-signature
\r
76 -----BEGIN PGP SIGNATURE-----
\r
77 Version: GnuPG v1.4.12 (GNU/Linux)
\r
79 iQIcBAEBCAAGBQJR6WIAAAoJEO00zqvie6q82xIP/jBam1RPZEuWqEgRr6XtZd3L
\r
80 VWgdoOAurPepe84nfkfjj2YTW5u83e/HHVO17cnZ4ESlX/Ky94CIVikrZ9pXf7KX
\r
81 1KPOCQIv4yRsVlLphMyJV9mQrC0OGwdlmIs/gOgzwXGcAv+G6jq0kH+OFFWUh5I2
\r
82 dG5I2DCEmtmGirhH3UERjY/nElJRHh9mQS/h5QnDm06b5swCzu6U0AsHsA9+9nFC
\r
83 oOvFlCDQVc6TXJneHw5fvinvizfe3LW3X78Qti5HMa2LdHdCy37TD30Ucz6K88a3
\r
84 vr/OsaiAZZnurRg7pp16SEkNLh7Hf52LUPGJXgouJ0kl2Q7x+DnHvukaUg+KFeBA
\r
85 FvCi62fnV3v4s2ZuhsKne7Uv7RdPkLY6Ye2HD/PeLYzuXZPkaemZWZV3hdORoD6U
\r
86 Ljq5Vz0SBMsMoqHkgfwDsgBBL8kbnkiECqrDRR4gmIJSNb34TG4FIkznniLYC4Qf
\r
87 9/WW/AXc6KfUygDXSPNqtl1z7Iazc6pjQWmcUKDWENkcFKeV9IwyRsVfmPN2MUZJ
\r
88 FbknwFiwWMxK42K1EN2pDzWVKScZZaLuiG0aietGBLkO2c441PzCxUelqQAuIlbi
\r
89 lOcUEvmH8qElWYTs3nJ2E9uZX+7/jW2VJ6gUyDng0i18FsWyKlISg5YQNHqje/5c
\r
90 qPZgo7FjjL6elczqIe8E
\r
92 -----END PGP SIGNATURE-----
\r