]> granicus.if.org Git - python/commit
bpo-30730: Prevent environment variables injection in subprocess on Windows. (#2325)
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 23 Jun 2017 16:39:27 +0000 (19:39 +0300)
committerGitHub <noreply@github.com>
Fri, 23 Jun 2017 16:39:27 +0000 (19:39 +0300)
commitd174d24a5d37d1516b885dc7c82f71ecd5930700
treed9fd67e5993b32d8b80c58099dd4a6aa0672722b
parentd352d689775699c289e011e8cec52c23c600b7fa
bpo-30730: Prevent environment variables injection in subprocess on Windows. (#2325)

Prevent passing other invalid environment variables and command arguments.
Lib/subprocess.py
Lib/test/test_subprocess.py
Misc/NEWS
Modules/_winapi.c
Objects/abstract.c