]> granicus.if.org Git - python/commit
[3.5] bpo-30730: Prevent environment variables injection in subprocess on Windows...
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 23 Jun 2017 17:27:02 +0000 (20:27 +0300)
committerGitHub <noreply@github.com>
Fri, 23 Jun 2017 17:27:02 +0000 (20:27 +0300)
commita7c0264735f46afab13771be4218d8eab0d7dc91
tree3410a5a14d3019ab4b8dfb18455bf68088df1d85
parentf42ce179c8aaa7e211ac4123c58fa3dd9a452004
[3.5] bpo-30730: Prevent environment variables injection in subprocess on Windows. (GH-2325) (#2361)

Prevent passing other invalid environment variables and command arguments..
(cherry picked from commit d174d24a5d37d1516b885dc7c82f71ecd5930700)
Lib/subprocess.py
Lib/test/test_subprocess.py
Misc/NEWS
Modules/_winapi.c
Objects/abstract.c