[testsuite] Unified CVE test cases

This commit is contained in:
Dan Čermák
2018-02-02 00:25:36 +01:00
parent e597e5b811
commit 3cbb031442
3 changed files with 7 additions and 4 deletions
+3 -1
View File
@@ -3,7 +3,9 @@
import system_tests
class CVE_2017_14857(system_tests.Case):
class TestCvePoC(system_tests.Case):
url = "https://github.com/Exiv2/exiv2/issues/76"
filename = "{data_path}/010_bad_free"
commands = ["{exiv2} " + filename]
+1 -2
View File
@@ -3,9 +3,8 @@
import system_tests
class CVE_2017_14680(system_tests.Case):
class TestCvePoC(system_tests.Case):
bug_no = "73"
url = "https://github.com/Exiv2/exiv2/issues/73"
filename = "{data_path}/003-heap-buffer-over"
+3 -1
View File
@@ -3,7 +3,9 @@
import system_tests
class RunPocFile(system_tests.Case):
class TestCvePoC(system_tests.Case):
url = "https://github.com/Exiv2/exiv2/issues/187"
filename = "{data_path}/issue_187"
commands = ["{exiv2} " + filename]