(cherry picked from commit 8b844c2dceab3ffd9bf423ffc4672bda5ee7cc8d)
This commit is contained in:
Kevin Backhouse 2021-08-02 23:04:13 +01:00 committed by mergify-bot
parent 47de70bbd7
commit e7d43b94a3
2 changed files with 17 additions and 0 deletions

Binary file not shown.

View File

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