Merge branch 'fix-msys2-quoting-bugs'
commit20c71bcf67c7087555b95cf413b79445547cb442
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 16 Sep 2019 11:26:40 +0000 (16 13:26 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 6 Dec 2019 15:31:15 +0000 (6 16:31 +0100)
tree6e33254247856365eeba59cbaa65a9523f75db54
parentd9061ed9dacb5657bcff4260fc35a831946907ec
parent7d8b676992ba0418aeb78f0ad1f4e193ad979b2e
Merge branch 'fix-msys2-quoting-bugs'

These patches fix several bugs in quoting arguments when spawning shell
scripts on Windows.

Note: these bugs are Windows-only, as we have to construct a command
line for the process-to-spawn, unlike Linux/macOS, where `execv()`
accepts an already-split command line.

Furthermore, these fixes were not included in the CVE-2019-1350 part of
v2.14.6 because the Windows-specific quoting when spawning shell scripts
was contributed from Git for Windows into Git only in the v2.21.x era.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>