summaryrefslogtreecommitdiff
path: root/t/t3005-ls-files-relative.sh
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2019-07-04 15:36:57 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-07-08 12:09:12 -0700
commit697bdd22b887a0778489814e44dcec850aa82ad0 (patch)
treed8799bdc7f1534fbb342c35edf834e6301a9f3bf /t/t3005-ls-files-relative.sh
parentmingw: use Unicode functions explicitly (diff)
downloadtgif-697bdd22b887a0778489814e44dcec850aa82ad0.tar.xz
mingw: fix possible buffer overrun when calling `GetUserNameW()`
In 39a98e9b68b8 (mingw: get pw_name in UTF-8 format, 2019-06-27), this developer missed the fact that the `GetUserNameW()` function takes the number of characters as `len` parameter, not the number of bytes. Reported-by: Beat Bolli <dev+git@drbeat.li> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3005-ls-files-relative.sh')
0 files changed, 0 insertions, 0 deletions