]> granicus.if.org Git - python/commit
[2.7] bpo-30730: Prevent environment variables injection in subprocess on Windows...
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 24 Jun 2017 08:49:00 +0000 (11:49 +0300)
committerGitHub <noreply@github.com>
Sat, 24 Jun 2017 08:49:00 +0000 (11:49 +0300)
commit9dda2caca8edc7ff1285f6b0d1c5279b51854b7d
treebfe785b8878b1bb8bb531a8a97a674ae4624b4e6
parent7709b4d57b433ef027a2e7e63b4cab3fc9ad910d
[2.7] bpo-30730: Prevent environment variables injection in subprocess on Windows. (GH-2325) (#2372)

Prevent passing other invalid environment variables and command arguments..
(cherry picked from commit d174d24a5d37d1516b885dc7c82f71ecd5930700)
Lib/test/test_subprocess.py
Misc/NEWS
Modules/posixmodule.c
PC/_subprocess.c