From 3cbb03144289ea0be277d09202c5971e4cef8df9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Fri, 2 Feb 2018 00:25:36 +0100 Subject: [PATCH] [testsuite] Unified CVE test cases --- tests/bugfixes/github/test_CVE_2017_14857.py | 4 +++- tests/bugfixes/github/test_CVE_2017_14860.py | 3 +-- tests/bugfixes/github/test_CVE_2017_17669.py | 4 +++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/tests/bugfixes/github/test_CVE_2017_14857.py b/tests/bugfixes/github/test_CVE_2017_14857.py index 143368ba..895a7e54 100644 --- a/tests/bugfixes/github/test_CVE_2017_14857.py +++ b/tests/bugfixes/github/test_CVE_2017_14857.py @@ -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] diff --git a/tests/bugfixes/github/test_CVE_2017_14860.py b/tests/bugfixes/github/test_CVE_2017_14860.py index 3c5e7c27..abae772a 100644 --- a/tests/bugfixes/github/test_CVE_2017_14860.py +++ b/tests/bugfixes/github/test_CVE_2017_14860.py @@ -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" diff --git a/tests/bugfixes/github/test_CVE_2017_17669.py b/tests/bugfixes/github/test_CVE_2017_17669.py index 1771c7b7..bf6a46b3 100644 --- a/tests/bugfixes/github/test_CVE_2017_17669.py +++ b/tests/bugfixes/github/test_CVE_2017_17669.py @@ -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]