[Xapian-devel] Re: [XapianBug 117] Invalid data in remote protocol can cause buffer overflow

Olly Betts olly at survex.com
Thu Apr 5 18:59:38 BST 2007


On Thu, Apr 05, 2007 at 05:06:47PM +0100, James Aylett wrote:
> On Thu, Apr 05, 2007 at 04:29:54PM +0100, Olly Betts wrote:
> > Erm, then what is waitpid waiting for?  The linux man page for waitpid
> > says that it should return with ECHILD in this case...

What does "man waitpid" on OS X say on the subject of waiting for a pid
which is no longer running (if anything)?

> > But perhaps this patch might help:
> > 
> > http://oligarchy.co.uk/xapian/patches/flint-lock-osx.patch
> 
> Hmm. With that, cat isn't dying. I suspect there's a weirdness to do
> with running under gdb. Killing cat manually makes it all pass.

Does it now work when not run under gdb?

Cheers,
    Olly



More information about the Xapian-devel mailing list