Skip to content

Commit

Permalink
fixup! pack-objects (mingw): demonstrate a segmentation fault with la…
Browse files Browse the repository at this point in the history
…rge 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 <johannes.schindelin@gmx.de>
  • Loading branch information
dscho committed Oct 7, 2022
1 parent 3541e90 commit b85c8f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t/t7422-submodule-long-path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit b85c8f6

Please sign in to comment.