Re: segfault with xapian 1.3.1

Subject: Re: segfault with xapian 1.3.1

Date: Thu, 05 Sep 2013 22:22:42 -0300

To: Jason A. Donenfeld, notmuch ML

Cc: Olly Betts

From: David Bremner


David Bremner <david@tethera.net> writes:

>
> I managed to duplicate this problem on Debian testing by rebuilding
> Olly's packages (https://launchpad.net/~ojwb/+archive/xapian-1.3) for
> sid and running the following script in the ./test subdirectory

Olly wrote on  IRC:

> bremner: ok, 1.2 explicitly no-oped skip_to() on an iterator at_end on
> trunk that code has been rewritten without that explicit check, and
> the iterator internals are NULL then i think restoring the check is
> reasonable, though I'm not sure if we actually promise that's defined
> behaviour if you want to work with 1.3.1, then checking against the
> end iterator before calling skip_to() will work for any version

So, now we know what to fix.

d

Thread: