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