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_2018_10999.py

18 lines
372 B
Python

# -*- coding: utf-8 -*-
import system_tests
class TestCvePoC(metaclass=system_tests.CaseMeta):
url = "https://github.com/Exiv2/exiv2/issues/306"
filename = "$data_path/pocIssue306"
commands = ["$exiv2 -et " + filename]
retval = [1]
stdout = [""]
stderr = [
"""$exception_in_extract """ + filename + """:
$kerFailedToReadImageData
"""]