summaryrefslogtreecommitdiff
path: root/t/t5515/refs.br-remote-glob-merge
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2017-10-03 16:36:40 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-10-04 13:41:49 +0900
commit97487ea11a2c68934927e515616c133e543a72ce (patch)
treed10311cf0a99e338d4a43f8bd67e524fc81ee148 /t/t5515/refs.br-remote-glob-merge
parentref-filter: use QSORT_S in ref_array_sort() (diff)
downloadtgif-97487ea11a2c68934927e515616c133e543a72ce.tar.xz
test-stringlist: avoid buffer underrun when sorting nothing
Check if the strbuf containing data to sort is empty before attempting to trim a trailing newline character. Signed-off-by: Rene Scharfe <l.s.r@web.de> Reviewed-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5515/refs.br-remote-glob-merge')
0 files changed, 0 insertions, 0 deletions