You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
exiv2/tests/bugfixes/github/test_CVE_2017_14862.py

18 lines
375 B
Python

# -*- coding: utf-8 -*-
import system_tests
from system_tests import check_no_ASAN_UBSAN_errors
class TestCvePoC(metaclass=system_tests.CaseMeta):
url = "https://github.com/Exiv2/exiv2/issues/75"
filename = "$data_path/008-invalid-mem"
commands = ["$exiv2 -q " + filename]
stderr = [""]
retval = [0]
compare_stdout = check_no_ASAN_UBSAN_errors