Author boya
Recipients boya, gregory.p.smith, ned.deily
Date 2009-09-01.22:34:52
SpamBayes Score 0.000314759
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:55boyasetrecipients: + boya, gregory.p.smith, ned.deily
2009-09-01 22:34:54boyasetmessageid: <1251844494.86.0.706350908586.issue5705@psf.upfronthosting.co.za>
2009-09-01 22:34:52boyalinkissue5705 messages
2009-09-01 22:34:52boyacreate