summaryrefslogtreecommitdiff
path: root/t/t7011-skip-worktree-reading.sh
diff options
context:
space:
mode:
authorLibravatar Glen Choo <chooglen@google.com>2022-03-01 16:36:13 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-01 23:27:09 -0800
commit8d2eaf649abd28baa083a723d1e041b26d2be83e (patch)
treeae72cb98b4b15b4b19187a5d96aab76d3bcf9258 /t/t7011-skip-worktree-reading.sh
parentGit 2.35.1 (diff)
downloadtgif-8d2eaf649abd28baa083a723d1e041b26d2be83e.tar.xz
checkout, clone: die if tree cannot be parsed
When a tree oid is invalid, parse_tree_indirect() can return NULL. Check for NULL instead of proceeding as though it were a valid pointer and segfaulting. Signed-off-by: Glen Choo <chooglen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7011-skip-worktree-reading.sh')
0 files changed, 0 insertions, 0 deletions