Fix seg fault in fork_parent

Arto Huusko arto.huusko@wmdata.fi
Fri Jul 29 10:24:00 GMT 2005


This patch fixes null deref in fork_parent() when pinfo::init fails.

I'm sorry the patch is not against CVS, but I am unable to use CVS from
where I work. If this is not acceptable, please tell me, and I can try
to do this from home.

In any case, the patch is against fork.cc rev 1.156.


2005-07-29  Arto Huusko  <arto.huusko@wmdata.fi>

	* fork.cc (fork_parent): Fix null deref if creation of pinfo
	of the child fails.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fork.patch
Type: text/x-patch
Size: 740 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20050729/941c47b0/attachment.bin>


More information about the Cygwin-patches mailing list