This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: suspicious code in dtable::dup2


On Mon, Jun 24, 2002 at 03:12:08PM -0400, Joe Buehler wrote:
>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.

You're right.  I checked in a fix for this.

Thanks.

cgf

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]