From 091d4edbdb4a6ec60acdfba7a31c4cb1430ffa5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Thu, 19 Oct 2017 22:16:39 +0200 Subject: [PATCH 1/3] Corrected bugfix test number #54 to #56 --- test/bugfixes-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/bugfixes-test.sh b/test/bugfixes-test.sh index f19fc618..e971749c 100755 --- a/test/bugfixes-test.sh +++ b/test/bugfixes-test.sh @@ -702,7 +702,7 @@ source ./functions.source copyTestFile $filename runTest exiv2 $filename - num=g54 + num=g56 printf "$num " >&3 filename=POC9 echo '------>' Bug $filename '<-------' >&2 From 35cb91a9f337fb273f66345548812d19525c0f38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Thu, 19 Oct 2017 22:17:24 +0200 Subject: [PATCH 2/3] Added reproducer for #54 / CVE-2017-11592 to the test suite --- test/bugfixes-test.sh | 7 +++++++ test/data/POC7 | Bin 0 -> 632 bytes 2 files changed, 7 insertions(+) create mode 100644 test/data/POC7 diff --git a/test/bugfixes-test.sh b/test/bugfixes-test.sh index e971749c..c7f119fb 100755 --- a/test/bugfixes-test.sh +++ b/test/bugfixes-test.sh @@ -765,6 +765,13 @@ source ./functions.source copyTestFile $filename runTest exiv2 $filename + num=g54 + printf "$num " >&3 + filename=POC7 + echo '------>' Bug $filename '<-------' >&2 + copyTestFile $filename + runTest exiv2 $filename + ) 3>&1 > $results 2>&1 printf "\n" diff --git a/test/data/POC7 b/test/data/POC7 new file mode 100644 index 0000000000000000000000000000000000000000..c9fbf8b2b42aff461088e4d3fed9d8c959eac385 GIT binary patch literal 632 zcmZ`$I}!mw5Pi!kEAmN{SmqL>a{#WfG9jU32_|*}nScwZA~0UJ>8)1is@d*-{idh; zZ3r`z06IKD<8e`;#cWg8hOdM(B%Ww{qTYmSHkqbpj+cg+uRM|9jlHyX%7KiL?Wr@R zv`rWoRv^-j^2zp|SLV`rNn99Nz0lTxUPNKHKK#4s2lSQXp3P?N4PxA3D@b`wBH}It z4ljE3iyr1IY#bk#c9V6R2$;ASl}|MOtB@|9>Ay5n$(&}K_iH@^*yaJ;rJD+`YsGl5 bIz2`}JUf8DY{!!k4C2BSEo>gmgQ}1(=`zEy literal 0 HcmV?d00001 From f4f05001e907ba8020cb66ce01f34386f2df8016 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Thu, 19 Oct 2017 22:17:52 +0200 Subject: [PATCH 3/3] Updated bugfixes-test.out --- test/data/bugfixes-test.out | Bin 1935812 -> 1935919 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/test/data/bugfixes-test.out b/test/data/bugfixes-test.out index 5b05207242d020297ddd1fe6b74eb63fb4a24d95..8076fa63cf71add073ebd176ff96f6a3a5f12725 100644 GIT binary patch delta 89 zcmX>yxorKEvW6DM7N!>F7M2#)7Pc1l7LFFq7OocV7M>Q~7QPn#7J(MQ7NHj57LgXw t7O@ub7Ks+g7O58L7MU%wM>?n9tCi(vG@stMoza*jz~9+?`p0@%6#z{H9q9l7 delta 67 zcmV~$OBO-^006*8rO2m}^1Y_D#cZs(hm9jRn3-)Ik7b+$LKjyzk-LXj;whEM6<*#x QN?(G$E7PYAviD*ylh