[testsuite] Unified CVE test cases
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -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,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]
|
||||
|
||||
Reference in New Issue
Block a user