[issue30730] [security] Injecting environment variable in subprocess on Windows
STINNER Victor
report at bugs.python.org
Wed Jul 12 09:36:34 EDT 2017
STINNER Victor added the comment:
I rebased my "[3.4] Backport CI config from master" PR #2475 on top of 3.4 to test the new security fixes, but a few test_subprocess tests failed:
https://github.com/python/cpython/pull/2475
https://travis-ci.org/python/cpython/jobs/252804589
======================================================================
ERROR: test_invalid_cmd (test.test_subprocess.ProcessTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/python/cpython/Lib/test/test_subprocess.py", line 613, in test_invalid_cmd
subprocess.Popen([cmd, "-c", "pass"])
File "/home/travis/build/python/cpython/Lib/subprocess.py", line 856, in __init__
restore_signals, start_new_session)
File "/home/travis/build/python/cpython/Lib/subprocess.py", line 1402, in _execute_child
restore_signals, start_new_session, preexec_fn)
TypeError: expected bytes with no null
----------
nosy: +haypo
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30730>
_______________________________________
More information about the Python-bugs-list
mailing list