Added reproducer for CVE-2017-1000127
parent
55001c8ddf
commit
ead7f309b0
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…
Reference in New Issue