Author boya
Recipients boya
Date 2009-09-09.21:01:21
SpamBayes Score 0.00524686
Marked as misclassified No
Message-id <1252530083.88.0.0590368551001.issue6873@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2009-09-09 21:01:24boyasetrecipients: + boya
2009-09-09 21:01:23boyasetmessageid: <1252530083.88.0.0590368551001.issue6873@psf.upfronthosting.co.za>
2009-09-09 21:01:22boyalinkissue6873 messages
2009-09-09 21:01:21boyacreate