Added reproducers for #73, #74 and #75 to the test suite

This commit is contained in:
Dan Čermák 2017-10-07 23:21:57 +02:00
parent c686843e20
commit de298b8e5d
5 changed files with 21 additions and 0 deletions

View File

@ -737,6 +737,27 @@ source ./functions.source
copyTestFile $filename
runTest exiv2 $filename
num=g73
printf "$num " >&3
filename=02-Invalid-mem-def
echo '------>' Bug $filename '<-------' >&2
copyTestFile $filename
runTest exiv2 $filename
num=g74
printf "$num " >&3
filename=005-invalid-mem
echo '------>' Bug $filename '<-------' >&2
copyTestFile $filename
runTest exiv2 $filename
num=g75
printf "$num " >&3
filename=008-invalid-mem
echo '------>' Bug $filename '<-------' >&2
copyTestFile $filename
runTest exiv2 $filename
) 3>&1 > $results 2>&1
printf "\n"

BIN
test/data/005-invalid-mem Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
test/data/008-invalid-mem Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.