delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/01/21:51:03

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
Message-Id: <3.0.5.32.20030101214858.007f17f0@h00207811519c.ne.client2.attbi.com>
X-Sender: pierre AT h00207811519c DOT ne DOT client2 DOT attbi DOT com
Date: Wed, 01 Jan 2003 21:48:58 -0500
To: cygwin AT cygwin DOT com, cygwin AT cygwin DOT com
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
Subject: Re: Heads up: *possible* bug in cygwin
In-Reply-To: <20030102000112.GB24893@redhat.com>
References: <20030101211342 DOT GA35586973 AT HPN5170X>
<20030101100510 DOT 5b5b7f3f DOT steven DOT obrien2 AT ntlworld DOT com>
<20030101170613 DOT GA19419 AT redhat DOT com>
<20030101171952 DOT GA83996745 AT HPN5170X>
<20030101173445 DOT GA1354 AT redhat DOT com>
<20030101194854 DOT GA19827 AT redhat DOT com>
<20030101211342 DOT GA35586973 AT HPN5170X>
Mime-Version: 1.0

At 07:01 PM 1/1/2003 -0500, Christopher Faylor wrote:
>Oops.  You're right.  So, the only potential problem is that the getpw
>routines aren't thread safe.  There is a window during the passwd info
>resides in a static structure.

You are right, the routines are not thread safe. However everything
should be fine unless passwd or group are changed while a program is
running. That's probably not the case here.

Pierre

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019