summaryrefslogtreecommitdiff
path: root/line-log.h
diff options
context:
space:
mode:
authorLibravatar Steven Roberts <fenderq@gmail.com>2019-07-16 11:47:37 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-07-16 12:15:12 -0700
commit64c45dc72ef039215f23d1b8f077dd6f9f254d38 (patch)
treeb74e18fb889fd283491f42b2ba94964250f2a562 /line-log.h
parentGit 2.20.1 (diff)
downloadtgif-64c45dc72ef039215f23d1b8f077dd6f9f254d38.tar.xz
gpg-interface: do not scan past the end of buffer
If the GPG output ends with trailing blank lines, after skipping them over inside the loop to find the terminating NUL at the end, the loop ends up looking for the next line, starting past the end. Signed-off-by: Steven Roberts <sroberts@fenderq.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'line-log.h')
0 files changed, 0 insertions, 0 deletions