[issue26671] Clean up path_converter in posixmodule.c

Larry Hastings report at bugs.python.org
Thu Mar 31 11:08:02 EDT 2016


Larry Hastings added the comment:

I approve in principle, but this patch isn't ready.

If we compile on Win32, and allow_fd is on, and they pass in an invalid fd, your patched code will reach line 914 "length = PyBytes_GET_SIZE(bytes);" but bytes will be uninitialized.

----------

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


More information about the Python-bugs-list mailing list