fix_547_0.27

v0.27.3
clanmills 5 years ago
parent f6ccb8e8bd
commit e5bdddc886

Binary file not shown.

@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
from system_tests import CaseMeta, path
class test_issue_547(metaclass=CaseMeta):
"""
Regression test for the bug described in:
https://github.com/Exiv2/exiv2/pull/960
"""
url = "https://github.com/Exiv2/exiv2/issues/547"
filename = path("$data_path/issue_547.poc")
commands = ["$exiv2 -pR $filename"]
stdout = ["""STRUCTURE OF TIFF FILE (II): $filename
address | tag | type | count | offset | value
12 | 0x0001 Version | SSHORT | 0 | |
"""]
stderr = [
"""Exiv2 exception in print action for file $filename:
$kerCorruptedMetadata
"""
]
retval = [1]
Loading…
Cancel
Save