From b85c8f604d375d4d773a36842964e8a7ec056aae Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Fri, 7 Oct 2022 12:48:17 +0200 Subject: [PATCH] fixup! pack-objects (mingw): demonstrate a segmentation fault with large deltas We need to explicitly allow the `file://` protocol for our tests to work, as a consequence of the fix for CVE-2022-39253. Signed-off-by: Johannes Schindelin --- t/t7422-submodule-long-path.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/t/t7422-submodule-long-path.sh b/t/t7422-submodule-long-path.sh index 0da221b45a..458519eafd 100755 --- a/t/t7422-submodule-long-path.sh +++ b/t/t7422-submodule-long-path.sh @@ -25,6 +25,7 @@ pwdlen=$(echo "$pwd" | wc -c) longpath=$(echo $longpath180 | cut -c 1-$((170-$pwdlen))) test_expect_success 'submodule with a long path' ' + git config --global protocol.file.allow always && GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME= \ git -c init.defaultBranch=long init --bare remote && test_create_repo bundle1 &&