]> granicus.if.org Git - python/commit
[3.6] bpo-30730: Prevent environment variables injection in subprocess on Windows...
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 23 Jun 2017 17:17:38 +0000 (20:17 +0300)
committerGitHub <noreply@github.com>
Fri, 23 Jun 2017 17:17:38 +0000 (20:17 +0300)
commite7135751b8e48af80665e40ac8fa6d0073e5affe
tree3ab00867f840f76a6669fb492fb5833f4253a57d
parent1b7474dedcbbd731a362b17abfbd7e5a60b64f63
[3.6] bpo-30730: Prevent environment variables injection in subprocess on Windows. (GH-2325) (#2360)

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