Regression test for https://github.com/Exiv2/exiv2/issues/1838
parent
726510f3b0
commit
bda9471c1b
Binary file not shown.
@ -0,0 +1,17 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
from system_tests import CaseMeta, path, check_no_ASAN_UBSAN_errors
|
||||||
|
|
||||||
|
class FloatToRationalCastOutOfRange(metaclass=CaseMeta):
|
||||||
|
"""
|
||||||
|
Test for the bug described in:
|
||||||
|
https://github.com/Exiv2/exiv2/issues/1838
|
||||||
|
"""
|
||||||
|
url = "https://github.com/Exiv2/exiv2/issues/1838"
|
||||||
|
|
||||||
|
filename = path("$data_path/issue_1838_poc.crw")
|
||||||
|
commands = ["$exiv2 $filename"]
|
||||||
|
stderr = [""]
|
||||||
|
retval = [0]
|
||||||
|
|
||||||
|
compare_stdout = check_no_ASAN_UBSAN_errors
|
Loading…
Reference in New Issue