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

James Aylett james-xapian at tartarus.org
Thu Apr 5 17:06:47 BST 2007


On Thu, Apr 05, 2007 at 04:29:54PM +0100, Olly Betts wrote:

> > > > It's waiting for the locking child to die:
> > > 
> > > Has the child died?  If not, what's the child doing?  Does the box have
> > > /bin/cat?
> > 
> > Yes, -, yes.
> 
> Erm, then what is waitpid waiting for?  The linux man page for waitpid
> says that it should return with ECHILD in this case...
> 
> 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.

J

-- 
/--------------------------------------------------------------------------\
  James Aylett                                                  xapian.org
  james at tartarus.org                               uncertaintydivision.org



More information about the Xapian-devel mailing list