]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'win32-filenames-cannot-have-trailing-spaces-or-periods'
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 16 Sep 2019 11:26:40 +0000 (13:26 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 5 Dec 2019 14:37:09 +0000 (15:37 +0100)
On Windows, filenames cannot have trailing spaces or periods, when
opening such paths, they are stripped automatically. Read: you can open
the file `README` via the file name `README . . .`. This ambiguity can
be used in combination with other security bugs to cause e.g. remote
code execution during recursive clones. This patch series fixes that.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1  2 
compat/mingw.c
t/t7415-submodule-names.sh

diff --cc compat/mingw.c
Simple merge
Simple merge