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

Added reproducer for CVE-2017-1000127
This commit is contained in:
D4N 2018-02-07 12:36:10 +01:00 committed by GitHub
commit efee9a2b58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 0 deletions

Binary file not shown.

View File

@ -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]