Regression test for https://github.com/Exiv2/exiv2/issues/1830
(cherry picked from commit 8b844c2dceab3ffd9bf423ffc4672bda5ee7cc8d)main
parent
47de70bbd7
commit
e7d43b94a3
Binary file not shown.
@ -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
|
Loading…
Reference in New Issue