1 Return-Path: <Vladimir.Marek@Oracle.COM>
\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 E2CD7431FBF
\r
6 for <notmuch@notmuchmail.org>; Wed, 1 May 2013 14:45:30 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2.299 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_MED=-2.3, UNPARSEABLE_RELAY=0.001]
\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 FammqTNWHFsk for <notmuch@notmuchmail.org>;
\r
17 Wed, 1 May 2013 14:45:24 -0700 (PDT)
\r
18 Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81])
\r
19 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id A3C46431FB6
\r
22 for <notmuch@notmuchmail.org>; Wed, 1 May 2013 14:45:24 -0700 (PDT)
\r
23 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237])
\r
24 by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with
\r
25 ESMTP id r41LjLm2030723
\r
26 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
\r
27 Wed, 1 May 2013 21:45:23 GMT
\r
28 Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86])
\r
29 by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id
\r
31 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
\r
32 Wed, 1 May 2013 21:45:22 GMT
\r
33 Received: from abhmt108.oracle.com (abhmt108.oracle.com [141.146.116.60])
\r
34 by userz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id
\r
35 r41LjKsp018420; Wed, 1 May 2013 21:45:21 GMT
\r
36 Received: from pub.cz.oracle.com (/10.163.101.122)
\r
37 by default (Oracle Beehive Gateway v4.0)
\r
38 with ESMTP ; Wed, 01 May 2013 14:45:20 -0700
\r
39 Date: Wed, 1 May 2013 23:43:24 +0200
\r
40 From: Vladimir Marek <Vladimir.Marek@Oracle.COM>
\r
41 To: notmuch@notmuchmail.org
\r
42 Subject: Re: [PATCH 01/24] lib/message.cc: stale pointer bug
\r
43 Message-ID: <20130501214324.GF19599@pub.cz.oracle.com>
\r
44 Mail-Followup-To: notmuch@notmuchmail.org,
\r
45 Vladimir Marek <vlmarek@volny.cz>
\r
46 References: <1367444021-2757-1-git-send-email-Vladimir.Marek@oracle.com>
\r
48 Content-Type: text/plain; charset=utf-8
\r
49 Content-Disposition: inline
\r
50 In-Reply-To: <1367444021-2757-1-git-send-email-Vladimir.Marek@oracle.com>
\r
51 User-Agent: Mutt/1.5.21 (2010-09-15)
\r
52 X-Source-IP: acsinet21.oracle.com [141.146.126.237]
\r
53 Cc: Vladimir Marek <vlmarek@volny.cz>
\r
54 X-BeenThere: notmuch@notmuchmail.org
\r
55 X-Mailman-Version: 2.1.13
\r
57 List-Id: "Use and development of the notmuch mail system."
\r
58 <notmuch.notmuchmail.org>
\r
59 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
60 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
61 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
62 List-Post: <mailto:notmuch@notmuchmail.org>
\r
63 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
64 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
65 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
66 X-List-Received-Date: Wed, 01 May 2013 21:45:31 -0000
\r
68 Uh, oh, it's patch 01/01 actually. There's 23 other patches waiting but
\r
69 will be submitted separately.
\r
71 > Xapian::TermIterator::operator* returns std::string which is destroyed
\r
72 > as soon as (*i).c_str() finishes. The remembered pointer 'term' then
\r
73 > references invalid memory.
\r
75 I reworded the comment and I changed the fix slightly.
\r