Add regression test for CVE 2017-17669

This commit is contained in:
Dan Čermák 2018-01-23 00:13:49 +01:00
parent e0ab5aaa87
commit 80c4d95171
2 changed files with 16 additions and 0 deletions

BIN
test/data/issue_187 Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 B

View File

@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
import system_tests
class RunPocFile(system_tests.Case):
filename = "{data_path}/issue_187"
commands = ["{exiv2} " + filename]
retval = [1]
stdout = [""]
stderr = [
"""{exiv2_exception_msg} """ + filename + """:
{error_14_message}
"""
]