test for issue #208
This commit is contained in:
parent
1647908e00
commit
dba9fba725
BIN
test/data/2018-01-09-exiv2-crash-001.tiff
Normal file
BIN
test/data/2018-01-09-exiv2-crash-001.tiff
Normal file
Binary file not shown.
16
tests/bugfixes/github/test_issue_208.py
Normal file
16
tests/bugfixes/github/test_issue_208.py
Normal 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"""
|
||||
]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user