]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[security][3.4] bpo-30730: Prevent environment variables injection in subprocess...
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 11 Jul 2017 10:24:10 +0000 (13:24 +0300)
committerlarryhastings <larry@hastings.org>
Tue, 11 Jul 2017 10:24:10 +0000 (05:24 -0500)
commitfe82c46327effc124ff166e1fa1e611579e1176b
tree3690545664d9d7bf36d817fea496670443ffa7f1
parentad1fb813a62733c096a877971d678a2585797b24
[security][3.4] bpo-30730: Prevent environment variables injection in subprocess on Windows. (GH-2325) (#2362)

* [3.4] bpo-30730: Prevent environment variables injection in subprocess on Windows. (GH-2325)

Prevent passing other invalid environment variables and command arguments..
(cherry picked from commit d174d24a5d37d1516b885dc7c82f71ecd5930700)

* Update NEWS
Lib/subprocess.py
Lib/test/test_subprocess.py
Misc/NEWS
Modules/_winapi.c
Objects/abstract.c