Merge pull request #1027 from Exiv2/mergify/bp/0.27-maintenance/pr-1020
crwimage: Check offset and size against total size (bp #1020)v0.27.3
commit
50e9dd964a
Binary file not shown.
@ -0,0 +1,14 @@
|
|||||||
|
from system_tests import CaseMeta, path
|
||||||
|
|
||||||
|
|
||||||
|
class OverreadInCiffDirectoryReadDirectory(metaclass=CaseMeta):
|
||||||
|
|
||||||
|
filename = path("$data_path/POC-file_issue_1019")
|
||||||
|
commands = ["$exiv2 -pv $filename"]
|
||||||
|
stdout = [""]
|
||||||
|
stderr = [
|
||||||
|
"""$exiv2_exception_message $filename:
|
||||||
|
$kerOffsetOutOfRange
|
||||||
|
"""
|
||||||
|
]
|
||||||
|
retval = [1]
|
Loading…
Reference in New Issue