Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Wed, 1 Jan 2003 16:13:42 -0500
From: "Pierre A. Humblet" <pierre.humblet@ieee.org>
To: cygwin@cygwin.com
Subject: Re: Heads up: *possible* bug in cygwin
Message-ID: <20030101211342.GA35586973@HPN5170X>
Mail-Followup-To: "Pierre A. Humblet" <pierre.humblet@ieee.org>,
	cygwin@cygwin.com
References: <20030101100510.5b5b7f3f.steven.obrien2@ntlworld.com> <20030101170613.GA19419@redhat.com> <20030101171952.GA83996745@HPN5170X> <20030101173445.GA1354@redhat.com> <20030101194854.GA19827@redhat.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20030101194854.GA19827@redhat.com>
User-Agent: Mutt/1.4i

On Wed, Jan 01, 2003 at 02:48:54PM -0500, Christopher Faylor wrote:
> 
> I've uploaded a new snapshot which should correctly calculate the buffer
> size for overflow conditions and returns a large number for
> _SC_GETPW_R_SIZE_MAX

Chris, I don't understand your changes in getpwuid_r32. 
The uid and gid are stored in struct passwd pwd fields and don't 
consume any space in the buffer. The buffer is filled with the
strcpy's toward the end. I don't see problems there.

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/

