This commit is contained in:
Kevin Backhouse
2021-09-18 14:32:48 +01:00
parent 774e6625e3
commit 37388c3fd7
2 changed files with 17 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

+17
View File
@@ -0,0 +1,17 @@
# -*- coding: utf-8 -*-
from system_tests import CaseMeta, path, check_no_ASAN_UBSAN_errors
class TagsIntPrint0x0007IntegerOverflow(metaclass=CaseMeta):
"""
Regression test for the bug described in:
https://github.com/Exiv2/exiv2/issues/1912
"""
url = "https://github.com/Exiv2/exiv2/issues/1912"
filename = path("$data_path/issue_1912_poc.jpg")
commands = ["$exiv2 -q -Pt $filename"]
stderr = [""]
retval = [0]
compare_stdout = check_no_ASAN_UBSAN_errors