summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff-tree_--pretty=oneline_--patch-with-stat_initial
diff options
context:
space:
mode:
authorLibravatar Stefan Naewe <stefan.naewe@gmail.com>2015-12-05 16:27:24 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-12-07 12:32:02 -0800
commita2678df335f3404bc5d96683fa36b8cfab7946b0 (patch)
treebc5ec704370e60f8db15ad3f1dd409906bf5e7e9 /t/t4013/diff.diff-tree_--pretty=oneline_--patch-with-stat_initial
parentGit 2.5.4 (diff)
downloadtgif-a2678df335f3404bc5d96683fa36b8cfab7946b0.tar.xz
revision.c: fix possible null pointer arithmetic
mark_tree_uninteresting() dereferences a tree pointer before checking if the pointer is valid. Fix that by doing the check first. Signed-off-by: Stefan Naewe <stefan.naewe@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff-tree_--pretty=oneline_--patch-with-stat_initial')
0 files changed, 0 insertions, 0 deletions