Irit Katriel added the comment:
If we do this then there are tests tha break, for instance test_is_symlink has
this:
self.assertIs((P / 'fileA\x00').is_file(), False)
--
nosy: +iritkatriel
versions: +Python 3.11 -Python 3.4, Python 3.5
___
Python
Changes by Demian Brecht demianbre...@gmail.com:
--
nosy: -demian.brecht
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22147
___
___
Vajrasky Kok added the comment:
Here is the patch.
--
keywords: +patch
nosy: +vajrasky
Added file: http://bugs.python.org/file36327/embedded_null_in_path.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22147
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22147
___
___
Python-bugs-list mailing
Changes by Antoine Pitrou pit...@free.fr:
--
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22147
___
___
Python-bugs-list
Antoine Pitrou added the comment:
This sounds like a reasonable request indeed.
--
components: +Library (Lib)
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22147
___
Changes by Demian Brecht demianbre...@gmail.com:
--
nosy: +demian.brecht
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22147
___
___
New submission from Isaac Schwabacher:
This is listed as a python3.4 issue even though I only tried this on the
python2.7 backport because I don't have a python3 handy, but I was not able to
find an indication, either here or elsewhere, that this had been addressed.
Please forgive me if it
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