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: Heads up: *possible* bug in cygwin


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/


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