This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
suspicious code in dtable::dup2
- From: Joe Buehler <jbuehler at hekimian dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 24 Jun 2002 15:12:08 -0400
- Subject: suspicious code in dtable::dup2
- Newsgroups: gmane.os.cygwin
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/