summaryrefslogtreecommitdiff
path: root/builtin/init-db.c
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2017-03-08 16:43:34 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-03-08 14:38:22 -0800
commitaac3eaa6242d00d358a077aa740cf5051905a569 (patch)
tree10549d3a1dd30d8f40b5659a644a85ae93832cd7 /builtin/init-db.c
parentGit 2.12 (diff)
downloadtgif-aac3eaa6242d00d358a077aa740cf5051905a569.tar.xz
t1501: demonstrate NULL pointer access with invalid GIT_WORK_TREE
When GIT_WORK_TREE does not specify a valid path, we should error out, instead of crashing. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/init-db.c')
0 files changed, 0 insertions, 0 deletions