Add reproducer for #457

This commit is contained in:
Luis Díaz Más 2018-10-13 09:47:08 +02:00
parent d68f42a609
commit 3f97960a1c
2 changed files with 14 additions and 0 deletions

BIN
test/data/issue_457_poc Normal file

Binary file not shown.

View File

@ -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]