[issue22147] PosixPath() constructor should not accept strings with embedded NUL bytes

Isaac Schwabacher report at bugs.python.org
Tue Aug 5 22:17:17 CEST 2014


Isaac Schwabacher added the comment:

Further digging reveals that the issue with `open()` was fixed in #13848 (the bug was in the `io` module).  I still believe that this should fail in the `pathlib.Path` constructor, but this is less of a security issue.

----------
type: security -> behavior

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


More information about the Python-bugs-list mailing list