Message92144
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! |
|
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 | |
|