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.
17 lines
369 B
Python
17 lines
369 B
Python
# -*- 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]
|