]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5303-pack-corruption-resilience.sh
patch-delta: fix oob read
[thirdparty/git.git] / t / t5303-pack-corruption-resilience.sh
index 912e659acf60a034ab72448b8d5b9fb4ae90f04c..7114c31ade75e6ef551c273cafa83fcfc0ba7c00 100755 (executable)
@@ -341,7 +341,7 @@ test_expect_success \
 # \0 - empty base
 # \2 - two bytes in result
 # \2 - two literal bytes (we are short one)
-test_expect_failure \
+test_expect_success \
     'apply delta with too few literal bytes' \
     'printf "\0\2\2X" > truncated_delta &&
      test_must_fail test-tool delta -p /dev/null truncated_delta /dev/null'