diff --git a/test/data/issue_457_poc b/test/data/issue_457_poc new file mode 100644 index 00000000..b52fb7e8 Binary files /dev/null and b/test/data/issue_457_poc differ diff --git a/tests/bugfixes/github/test_issue_457.py b/tests/bugfixes/github/test_issue_457.py new file mode 100644 index 00000000..2da95390 --- /dev/null +++ b/tests/bugfixes/github/test_issue_457.py @@ -0,0 +1,14 @@ +# -*- coding: utf-8 -*- + +import system_tests + + +class ThrowsWhenColorProfileInTiffMetadataIsCorrupted(metaclass=system_tests.CaseMeta): + + url = "https://github.com/Exiv2/exiv2/issues/457" + + filename = "$data_path/issue_457_poc" + + commands = ["$exiv2 " + filename] + compare_stderr = system_tests.check_no_ASAN_UBSAN_errors + retval = [1]