suspicious code in dtable::dup2

Joe Buehler jbuehler@hekimian.com
Mon Jun 24 15:26:00 GMT 2002


Looking at dtable::dup2 in dtable.cc, it appears that it is possible
to lock the fd list resource then exit the function without
unlocking it.  Which presumably could cause a hang sometime later.

Joe Buehler




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list