test for issue #208

This commit is contained in:
Michał Walenciak 2018-01-13 15:52:50 +01:00
parent 1647908e00
commit dba9fba725
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 CVE_2017_14857(system_tests.Case):
filename = "{data_path}/2018-01-09-exiv2-crash-001.tiff"
commands = ["{exiv2} " + filename]
retval = [1]
stdout = [""]
stderr = [
"""{exiv2_exception_msg} """ + filename + """:
""" + filename + """: The file contains data of an unknown image type"""
]