Kevin Backhouse 4 years ago
parent f9248f9fde
commit 218ad98f22
No known key found for this signature in database
GPG Key ID: 9DD01852EE40366E

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
from system_tests import CaseMeta, CopyTmpFiles, path
@CopyTmpFiles("$data_path/issue_1881_poc.jpg")
class SonyPreviewImageLargeAllocation(metaclass=CaseMeta):
"""
Regression test for the bug described in:
https://github.com/Exiv2/exiv2/issues/1881
"""
url = "https://github.com/Exiv2/exiv2/issues/1881"
filename = path("$tmp_path/issue_1881_poc.jpg")
commands = ["$exiv2 -q -d I rm $filename"]
stdout = [""]
stderr = [
"""Exiv2 exception in erase action for file $filename:
$kerCorruptedMetadata
"""]
retval = [1]
Loading…
Cancel
Save