Add reproducer for CVE-2017-1000126 to the test suite

v0.27.3
Dan Čermák 7 years ago
parent 3c20cc06a9
commit 48982697b0

@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
import system_tests
class TestCvePoC(system_tests.Case):
url = "https://github.com/Exiv2/exiv2/issues/175"
filename = "{data_path}/cve_2017_1000126_stack-oob-read.webp"
commands = ["{exiv2} " + filename]
stdout = [""]
stderr = ["""{exiv2_exception_msg} """ + filename + """:
{kerCorruptedMetadata}
"""]
retval = [1]
Loading…
Cancel
Save