| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| To: | cygwin AT cygwin DOT com |
| X-Injected-Via-Gmane: | http://gmane.org/ |
| Path: | not-for-mail |
| From: | Joe Buehler <jbuehler AT hekimian DOT com> |
| Newsgroups: | gmane.os.cygwin |
| Subject: | suspicious code in dtable::dup2 |
| Date: | Mon, 24 Jun 2002 15:12:08 -0400 |
| Lines: | 6 |
| Message-ID: | <3D176F08.6060800@hekimian.com> |
| NNTP-Posting-Host: | hekimian.com |
| Mime-Version: | 1.0 |
| X-Trace: | main.gmane.org 1024945911 10179 206.205.138.10 (24 Jun 2002 19:11:51 GMT) |
| X-Complaints-To: | usenet AT main DOT gmane DOT org |
| NNTP-Posting-Date: | Mon, 24 Jun 2002 19:11:51 +0000 (UTC) |
| User-Agent: | Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.0) Gecko/20020530 |
| X-Accept-Language: | en-us, en |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |