diff options
author | Stefan Beller <sbeller@google.com> | 2016-03-31 14:04:37 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-03-31 15:19:01 -0700 |
commit | 3c0663e16630ddfd9f4c2e46e52c9984a03b888d (patch) | |
tree | 6023f7fdc3ca263efa1c785d4297cfc758a486c4 /diffcore-rename.c | |
parent | recursive submodules: test for relative paths (diff) | |
download | tgif-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