summaryrefslogtreecommitdiff
path: root/diffcore-rename.c
diff options
context:
space:
mode:
authorLibravatar Stefan Beller <sbeller@google.com>2016-03-31 14:04:37 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-03-31 15:19:01 -0700
commit3c0663e16630ddfd9f4c2e46e52c9984a03b888d (patch)
tree6023f7fdc3ca263efa1c785d4297cfc758a486c4 /diffcore-rename.c
parentrecursive submodules: test for relative paths (diff)
downloadtgif-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 'diffcore-rename.c')
0 files changed, 0 insertions, 0 deletions