exiv2/tests/bugfixes/github/test_issue_789.py
2023-06-02 00:25:13 +08:00

21 lines
492 B
Python

import system_tests
class SegvInPngImageReadMetadata(
metaclass=system_tests.CaseMeta):
"""
Regression test for the bug described in:
https://github.com/Exiv2/exiv2/issues/789
"""
url = "https://github.com/Exiv2/exiv2/issues/789"
filename = system_tests.path(
"$data_path/issue_789_poc1.png"
)
commands = ["$exiv2 $filename"]
stdout = [""]
stderr = [""]
retval = [1]
compare_stderr = system_tests.check_no_ASAN_UBSAN_errors