Message84134
| Author |
vstinner |
| Recipients |
amaury.forgeotdarc, pitrou, sjoerd, vstinner |
| Date |
2009年03月25日.00:34:47 |
| SpamBayes Score |
3.964906e-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:53 | vstinner | set | recipients:
+ vstinner, sjoerd, amaury.forgeotdarc, pitrou |
| 2009年03月25日 00:34:53 | vstinner | set | messageid: <1237941293.24.0.742587119029.issue4591@psf.upfronthosting.co.za> |
| 2009年03月25日 00:34:51 | vstinner | link | issue4591 messages |
| 2009年03月25日 00:34:51 | vstinner | create |
|