From: David Bremner <david@tethera.net>
To: Vladimir.Marek@oracle.com, notmuch@notmuchmail.org
Cc: Vladimir Marek <vlmarek@volny.cz>
Subject: Re: [PATCH] lib/message.cc: stale pointer bug (v3)
Date: Fri, 03 May 2013 21:28:09 -0300 [thread overview]
Message-ID: <878v3vvbae.fsf@zancas.localnet> (raw)
In-Reply-To: <1367505102-12860-1-git-send-email-Vladimir.Marek@oracle.com>
Vladimir.Marek@oracle.com writes:
> From: Vladimir Marek <vlmarek@volny.cz>
>
> Xapian::TermIterator::operator* returns std::string which is destroyed
> as soon as (*i).c_str() finishes. The remembered pointer 'term' then
> references invalid memory.
Pushed,
d
prev parent reply other threads:[~2013-05-04 0:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-02 14:31 [PATCH] lib/message.cc: stale pointer bug (v3) Vladimir.Marek
2013-05-02 16:20 ` Jani Nikula
2013-05-04 0:28 ` David Bremner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878v3vvbae.fsf@zancas.localnet \
--to=david@tethera.net \
--cc=Vladimir.Marek@oracle.com \
--cc=notmuch@notmuchmail.org \
--cc=vlmarek@volny.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).