Message92465
posix_lchown(PyObject *self, PyObject *args)
{
...
int uid, gid;
...
if (!PyArg_ParseTuple(args, "etii:lchown",
Py_FileSystemDefaultEncoding, &path,
&uid, &gid))
...
}
uid and gid could cause over flow. A similar bug is issue 5705.
Patch attached. Any comment is appreciated!
Boya |
|
Date |
User |
Action |
Args |
2009-09-09 21:01:24 | boya | set | recipients:
+ boya |
2009-09-09 21:01:23 | boya | set | messageid: <1252530083.88.0.0590368551001.issue6873@psf.upfronthosting.co.za> |
2009-09-09 21:01:22 | boya | link | issue6873 messages |
2009-09-09 21:01:21 | boya | create | |
|