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 /commit-slab.h | |
parent | 3fea121df31c108ee9c52fd888a90d68a3bbb2b2 (diff) | |
download | git-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