Merge pull request #205 from D4N/CVE-2017-1000127_reproducer

Added reproducer for CVE-2017-1000127
v0.27.3
D4N 7 years ago committed by GitHub
commit efee9a2b58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

Binary file not shown.

@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
import system_tests
class TestPoC(system_tests.Case):
url = "https://github.com/Exiv2/exiv2/issues/176"
filename = "{data_path}/heap-oob-write.tiff"
commands = ["{exiv2} " + filename]
stdout = [""]
stderr = ["""{exiv2_exception_msg} """ + filename + """:
{error_57_message}
"""]
retval = [1]
Loading…
Cancel
Save