18 lines
486 B
Python
18 lines
486 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from system_tests import CaseMeta, path, check_no_ASAN_UBSAN_errors
|
|
|
|
class TiffMnEntryDoCountInvalidTiffType(metaclass=CaseMeta):
|
|
"""
|
|
Test for the bug described in:
|
|
https://github.com/Exiv2/exiv2/issues/1833
|
|
"""
|
|
url = "https://github.com/Exiv2/exiv2/issues/1833"
|
|
|
|
filename = path("$data_path/issue_1833_poc.jpg")
|
|
commands = ["$exiv2 -pS $filename"]
|
|
stderr = [""]
|
|
retval = [0]
|
|
|
|
compare_stdout = check_no_ASAN_UBSAN_errors
|