From: David Bremner Date: Fri, 19 Jul 2013 12:10:57 +0000 (+2100) Subject: segmentation fault caused by empty application/pgp-signature part X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bfef13821d8b86473a2c9869b2154cbc4db2cd7c;p=notmuch-archives.git segmentation fault caused by empty application/pgp-signature part --- diff --git a/06/f445165d6a2012b24951b181e0d48ae353acc0 b/06/f445165d6a2012b24951b181e0d48ae353acc0 new file mode 100644 index 000000000..f8c3b33c1 --- /dev/null +++ b/06/f445165d6a2012b24951b181e0d48ae353acc0 @@ -0,0 +1,91 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 68C8C431FBD + for ; Fri, 19 Jul 2013 05:11:11 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0.001 +X-Spam-Level: +X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 + tests=[MISSING_MIME_HB_SEP=0.001] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id K+gBMkHys9OU for ; + Fri, 19 Jul 2013 05:11:05 -0700 (PDT) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 457C9431FAF + for ; Fri, 19 Jul 2013 05:11:05 -0700 (PDT) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1V09WX-0005eq-5V; Fri, 19 Jul 2013 09:11:01 -0300 +Received: (nullmailer pid 32504 invoked by uid 1000); Fri, 19 Jul 2013 + 12:10:57 -0000 +From: David Bremner +To: notmuch mailing list +Subject: segmentation fault caused by empty application/pgp-signature part +User-Agent: Notmuch/0.15.2+217~gb60fb33 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Fri, 19 Jul 2013 09:10:57 -0300 +Message-ID: <87mwpiu4vi.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: multipart/mixed; boundary="==-=-=" +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Fri, 19 Jul 2013 12:11:11 -0000 + +--==-=-= +Content-Type: text/plain + + +The attached message is edited from one I managed to convince notmuch-emacs to +send via some mishap with gpg-agent. It has an empty signature +part. Clearly this is wrong, but on the other hand, it should not cause +notmuch show --decrypt to segmentation fault. As for the actual creation +of the message, I suppose that's more likely a bug in emacs, if +anything. + + +--==-=-= +Content-Type: message/rfc822 +Content-Disposition: attachment; filename=pgp-fail.eml + +Delivery-date: Fri, 05 Jul 2013 15:11:10 -0300 +From: David Bremner +To: blah blah +Subject: blah +Date: Fri, 05 Jul 2013 15:10:32 -0300 +Message-ID: +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; +X-Spam-Score: -0.0 +X-Spam_bar: / + +protocol="application/pgp-signature" + +--=-=-= +Content-Type: text/plain +Content-Transfer-Encoding: quoted-printable + +blah + +--=-=-= +Content-Type: application/pgp-signature + + +--=-=-=-- + +--==-=-=--