[issue30730] [security] Injecting environment variable in subprocess on Windows

Serhiy Storchaka report at bugs.python.org
Wed Jul 12 10:41:57 EDT 2017


Serhiy Storchaka added the comment:

Oh, I forgot that null character/byte errors were of type TypeError before 3.5. The simplest fix is changing corresponding ValueError in self.assertRaises() to the tuple (ValueError, TypeError).

I have updated the PR for 3.5. You can include the fix in your "[3.4] Backport CI config from master" PR or I can create a separate PR for 3.4.

----------

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


More information about the Python-bugs-list mailing list