diff --git a/test/data/2018-01-09-exiv2-crash-001.tiff b/test/data/2018-01-09-exiv2-crash-001.tiff new file mode 100644 index 00000000..8f78f73c Binary files /dev/null and b/test/data/2018-01-09-exiv2-crash-001.tiff differ diff --git a/tests/bugfixes/github/test_issue_208.py b/tests/bugfixes/github/test_issue_208.py new file mode 100644 index 00000000..4f513a33 --- /dev/null +++ b/tests/bugfixes/github/test_issue_208.py @@ -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""" +] +