aboutsummaryrefslogtreecommitdiff
path: root/commit-slab.h
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2016-03-31 14:04:37 -0700
committerJunio C Hamano <gitster@pobox.com>2016-03-31 15:19:01 -0700
commit3c0663e16630ddfd9f4c2e46e52c9984a03b888d (patch)
tree6023f7fdc3ca263efa1c785d4297cfc758a486c4 /commit-slab.h
parent3fea121df31c108ee9c52fd888a90d68a3bbb2b2 (diff)
downloadgit-3c0663e16630ddfd9f4c2e46e52c9984a03b888d.tar.gz
git-3c0663e16630ddfd9f4c2e46e52c9984a03b888d.tar.xz
submodule--helper: fix potential NULL-dereference
Don't dereference NULL 'path' if it was never assigned. Also protect against an empty --path argument. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-slab.h')
0 files changed, 0 insertions, 0 deletions