Regression test for https://github.com/Exiv2/exiv2/issues/1827
(cherry picked from commit db527f446f33a7717205a6afba60f669d17ecf7f)main
parent
0e7d80fc84
commit
65d9f62efe
Binary file not shown.
@ -0,0 +1,17 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
from system_tests import CaseMeta, CopyTmpFiles, path, check_no_ASAN_UBSAN_errors
|
||||||
|
|
||||||
|
class ExposureTimeCastDoubleToLong(metaclass=CaseMeta):
|
||||||
|
"""
|
||||||
|
Regression test for the bug described in:
|
||||||
|
https://github.com/Exiv2/exiv2/issues/1827
|
||||||
|
"""
|
||||||
|
url = "https://github.com/Exiv2/exiv2/issues/1827"
|
||||||
|
|
||||||
|
filename = path("$data_path/issue_1827_poc.crw")
|
||||||
|
commands = ["$exiv2 $filename"]
|
||||||
|
stderr = [""]
|
||||||
|
retval = [0]
|
||||||
|
|
||||||
|
compare_stdout = check_no_ASAN_UBSAN_errors
|
Loading…
Reference in New Issue