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

18 lines
416 B
Python

# -*- coding: utf-8 -*-
import system_tests
class TestCvePoC(system_tests.Case):
url = "https://github.com/Exiv2/exiv2/issues/188"
found_by = ["Wei You", "@youwei1988"]
filename = "{data_path}/poc_2017-12-12_issue188"
commands = ["{exiv2} " + filename]
stdout = [""]
stderr = ["""{exiv2_overflow_exception_message} """ + filename + """:
{addition_overflow_message}
"""]
retval = [1]