Author vstinner
Recipients amaury.forgeotdarc, pitrou, sjoerd, vstinner
Date 2009-03-25.00:34:47
SpamBayes Score 3.96491e-08
Marked as misclassified No
Message-id <1237941293.24.0.742587119029.issue4591@psf.upfronthosting.co.za>
In-reply-to
Content
pitrou> The documentation for PyArg_ParseTuple states that the 
pitrou> "I" code doesn't do any overflow checking. Does it mean 
pitrou> the input parameters can be silently truncated?

I'm sorry, but you're right :-) My patch was wrong. New patch 
introduces functions parse_uid() and parse_gid() doing the right thing 
to get an unsigned uid and gid. I reused the parsing code from 
posix_setgroups().
History
Date User Action Args
2009-03-25 00:34:53vstinnersetrecipients: + vstinner, sjoerd, amaury.forgeotdarc, pitrou
2009-03-25 00:34:53vstinnersetmessageid: <1237941293.24.0.742587119029.issue4591@psf.upfronthosting.co.za>
2009-03-25 00:34:51vstinnerlinkissue4591 messages
2009-03-25 00:34:51vstinnercreate