[issue23908] Check path arguments of os functions for null character

Serhiy Storchaka report at bugs.python.org
Tue Apr 14 13:39:47 CEST 2015


Serhiy Storchaka added the comment:

I afraid not that builbots will fail, but that that test could pass without the fix. Tests should be tested without applying the fix. Writing right tests can require several iterations with running tests on patched and unpatched the os module.

Here is a patch with tests.

----------
Added file: http://bugs.python.org/file38984/path_converter_null_char_2.patch

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


More information about the Python-bugs-list mailing list