[issue6873] posix_lchown: possible overflow of uid, gid

Martin v. Löwis report at bugs.python.org
Fri Sep 11 09:54:17 CEST 2009


Martin v. Löwis <martin at v.loewis.de> added the comment:

I think the new patch is still incorrect. You now pass long variables into 
the i argument parser. Also, I would expect that compilers prefer to see 
an explicit cast from long to uid_t, in case it's a truncating cast.

Can you try your patch on a system where all this is an actual problem?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6873>
_______________________________________


More information about the Python-bugs-list mailing list