diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2019-10-25 14:13:36 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-10-28 03:38:51 (GMT) |
commit | 60e6569a1207d75a351684e2c48f8d18d15a0032 (patch) | |
tree | fab1f1f9aff26cdc1522c9837a51eab82815ba1f /t/t3034-merge-recursive-rename-options.sh | |
parent | 5fa0f5238b0cd46cfe7f6fa76c3f526ea98148d9 (diff) | |
download | git-60e6569a1207d75a351684e2c48f8d18d15a0032.zip git-60e6569a1207d75a351684e2c48f8d18d15a0032.tar.gz git-60e6569a1207d75a351684e2c48f8d18d15a0032.tar.bz2 |
mingw: avoid a buffer overrun in `needs_hiding()`
When this function is passed a path with a trailing slash, it runs right
over the end of that path.
Let's fix this.
Co-authored-by: Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3034-merge-recursive-rename-options.sh')
0 files changed, 0 insertions, 0 deletions