Message92144
| Author |
boya |
| Recipients |
boya, gregory.p.smith, ned.deily |
| Date |
2009年09月01日.22:34:52 |
| SpamBayes Score |
0.00031475924 |
| Marked as misclassified |
No |
| Message-id |
<1251844494.86.0.706350908586.issue5705@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Another potential bug discovered in posixmodule.c in the function
posix_lchown:
posix_lchown(PyObject *self, PyObject *args)
{
...
int uid, gid;
...
if (!PyArg_ParseTuple(args, "etii:lchown",
Py_FileSystemDefaultEncoding, &path,
&uid, &gid))
...
}
uid and gid could also cause over flow. Patch attached.
Hope some one can comment on the patch, thanks a lot! |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年09月01日 22:34:55 | boya | set | recipients:
+ boya, gregory.p.smith, ned.deily |
| 2009年09月01日 22:34:54 | boya | set | messageid: <1251844494.86.0.706350908586.issue5705@psf.upfronthosting.co.za> |
| 2009年09月01日 22:34:52 | boya | link | issue5705 messages |
| 2009年09月01日 22:34:52 | boya | create |
|