New submission from Boya Sun <boya....@case.edu>: 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 ---------- files: patch.diff keywords: patch messages: 92465 nosy: boya severity: normal status: open title: posix_lchown: possible overflow of uid, gid Added file: http://bugs.python.org/file14869/patch.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6873> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com