Re: BUG: Using pointer that points to a destructed string's content
authorDavid Bremner <david@tethera.net>
Sat, 3 Jan 2015 13:30:16 +0000 (14:30 +0100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:47:14 +0000 (14:47 -0700)
3a/56518346a945a8b5aa69cc18aff2f2b53e1f0f [new file with mode: 0644]

diff --git a/3a/56518346a945a8b5aa69cc18aff2f2b53e1f0f b/3a/56518346a945a8b5aa69cc18aff2f2b53e1f0f
new file mode 100644 (file)
index 0000000..c9e9269
--- /dev/null
@@ -0,0 +1,67 @@
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 3C64E431FC0\r
+       for <notmuch@notmuchmail.org>; Sat,  3 Jan 2015 05:30:24 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id wELmJGcARV8T for <notmuch@notmuchmail.org>;\r
+       Sat,  3 Jan 2015 05:30:22 -0800 (PST)\r
+Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])\r
+       (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 2F9B3431FB6\r
+       for <notmuch@notmuchmail.org>; Sat,  3 Jan 2015 05:30:22 -0800 (PST)\r
+Received: from remotemail by yantan.tethera.net with local (Exim 4.80)\r
+       (envelope-from <david@tethera.net>)\r
+       id 1Y7Omb-0006Vs-Mf; Sat, 03 Jan 2015 09:30:21 -0400\r
+Received: (nullmailer pid 6256 invoked by uid 1000); Sat, 03 Jan 2015\r
+       13:30:16 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Tamas Szakaly <sghctoma@gmail.com>, notmuch@notmuchmail.org\r
+Subject: Re: BUG: Using pointer that points to a destructed string's content\r
+In-Reply-To: <20141226113755.GA64154@pamparam>\r
+References: <20141226113755.GA64154@pamparam>\r
+User-Agent: Notmuch/0.19+10~g215de26 (http://notmuchmail.org) Emacs/24.4.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Sat, 03 Jan 2015 14:30:16 +0100\r
+Message-ID: <87zja0vvo7.fsf@maritornes.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 03 Jan 2015 13:30:24 -0000\r
+\r
+Tamas Szakaly <sghctoma@gmail.com> writes:\r
+\r
+> -----BEGIN PGP SIGNED MESSAGE-----\r
+> Hash: SHA1\r
+>\r
+> Dear notmuch developers,\r
+>\r
+> The following line is from _notmuch_message_add_directory_terms in\r
+> lib/message.cc (line 652 in HEAD):\r
+>\r
+> direntry = (*i).c_str ();\r
+>\r
+\r
+This should be fixed in commit 3d978a0d\r
+\r
+d\r