Heads up: *possible* bug in cygwin

Pierre A. Humblet pierre.humblet@ieee.org
Wed Jan 1 21:14:00 GMT 2003


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/



More information about the Cygwin mailing list