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.
19 lines
493 B
Python
19 lines
493 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
import system_tests
|
|
|
|
|
|
class TestCvePoC(metaclass=system_tests.CaseMeta):
|
|
|
|
url = "https://github.com/Exiv2/exiv2/issues/202"
|
|
cve_url = "http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-4868"
|
|
found_by = ["afl", "topsecLab", "xcainiao"]
|
|
|
|
filename = "$data_path/exiv2-memorymmap-error"
|
|
commands = ["$exiv2 " + filename]
|
|
stdout = [""]
|
|
stderr = ["""$exiv2_exception_message """ + filename + """:
|
|
$kerCorruptedMetadata
|
|
"""]
|
|
retval = [1]
|