[Patch]: Fixing the PROCESS_DUP_HANDLE security hole (part 1).

Pierre A. Humblet pierre@phumblet.no-ip.org
Tue Dec 9 04:14:00 GMT 2003


At 10:46 PM 12/8/2003 -0500, Pierre A. Humblet wrote:
>At 10:28 PM 12/8/2003 -0500, Christopher Faylor wrote:
>>
>>Does that solve the problem?
>
>Yes, but now I see another one: open_fhs is off.
>fhandler_tty_slave::close: decremented open_fhs -1

I have to stop for now.
One minor thing:
	(fhandler_tty_common::close): Set io_handle to NULL after closing.
should be done after the termios_printf. 

Pierre



More information about the Cygwin-patches mailing list