summaryrefslogtreecommitdiff
path: root/t/t4054-diff-bogus-tree.sh
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2017-05-04 15:55:38 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-05-08 12:18:19 +0900
commit5748693b9123f55363211d18e8074db5e1b8384e (patch)
tree399bd14bc8d4ac40f8426163ba44e500041f5063 /t/t4054-diff-bogus-tree.sh
parentwinansi: avoid buffer overrun (diff)
downloadtgif-5748693b9123f55363211d18e8074db5e1b8384e.tar.xz
add_commit_patch_id(): avoid allocating memory unnecessarily
It would appear that we allocate (and forget to release) memory if the patch ID is not even defined. Reported by the Coverity tool. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4054-diff-bogus-tree.sh')
0 files changed, 0 insertions, 0 deletions