[Xapian-devel] Re: [XapianBug 117] Invalid data in remote
protocol can cause buffer overflow
James Aylett
james-xapian at tartarus.org
Thu Apr 5 19:22:33 BST 2007
On Thu, Apr 05, 2007 at 06:59:38PM +0100, Olly Betts wrote:
> What does "man waitpid" on OS X say on the subject of waiting for a pid
> which is no longer running (if anything)?
Same as linux, pretty much. It should error immediately.
> > 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?
No. What I meant was that I think when cat died earlier but waitpid()
didn't return, perhaps it was gdb's fault - when running the tests
outside gdb, cat keeps on running.
J
--
/--------------------------------------------------------------------------\
James Aylett xapian.org
james at tartarus.org uncertaintydivision.org
More information about the Xapian-devel
mailing list