You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
478 B
Python
18 lines
478 B
Python
# -*- 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
|