Regression test for https://github.com/Exiv2/exiv2/issues/1570.
parent
783b3a6ff1
commit
386e464e1f
Binary file not shown.
@ -0,0 +1,19 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
from system_tests import CaseMeta, path
|
||||||
|
|
||||||
|
|
||||||
|
class BmffImageReadMetadataOutOfBoundsRead(metaclass=CaseMeta):
|
||||||
|
"""
|
||||||
|
Regression test for the bug described in:
|
||||||
|
https://github.com/Exiv2/exiv2/issues/1570
|
||||||
|
"""
|
||||||
|
url = "https://github.com/Exiv2/exiv2/issues/1570"
|
||||||
|
|
||||||
|
filename = path("$data_path/issue_1570_poc.bmff")
|
||||||
|
commands = ["$exiv2 $filename"]
|
||||||
|
stdout = [""]
|
||||||
|
stderr = [
|
||||||
|
"""$filename1: Could not write metadata to file: $kerCorruptedMetadata
|
||||||
|
"""]
|
||||||
|
retval = [1]
|
Loading…
Reference in New Issue