summaryrefslogtreecommitdiff
path: root/submodule-config.h
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2018-09-24 04:37:17 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-09-27 11:41:26 -0700
commita124133e1e6ab5c7a9fef6d0e6bcb084e3455b46 (patch)
treeb2feaba2c06781e934d4888f89a1dbe632a49777 /submodule-config.h
parentSync with 2.16.5 (diff)
downloadtgif-a124133e1e6ab5c7a9fef6d0e6bcb084e3455b46.tar.xz
fsck: detect submodule urls starting with dash
Urls with leading dashes can cause mischief on older versions of Git. We should detect them so that they can be rejected by receive.fsckObjects, preventing modern versions of git from being a vector by which attacks can spread. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule-config.h')
0 files changed, 0 insertions, 0 deletions