Kevin Backhouse 4 years ago
parent 937264b7a8
commit d874f3d278
No known key found for this signature in database
GPG Key ID: 9DD01852EE40366E

@ -0,0 +1 @@
<x:xmpmeta xmlns:x=" "><rdf:RDF xmlns:rdf=" "><rdf:Description xmlns:xmp="x"><xmp:CreateDate>-9223372036854775807-3</xmp:CreateDate></rdf:Description></rdf:RDF></x:xmpmeta>

@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-
from system_tests import CaseMeta, path
class XMPUtilsLeapYearOverflow(metaclass=CaseMeta):
"""
Regression test for the bug described in:
https://github.com/Exiv2/exiv2/issues/1954
"""
url = "https://github.com/Exiv2/exiv2/issues/1954"
filename = path("$data_path/issue_1954_poc.xmp")
commands = ["$exiv2 -q $filename"]
stderr = ["""$filename: No Exif data found in the file
"""]
stdout = ["""File name : $filename
File size : 172 Bytes
MIME type : application/rdf+xml
Image size : 0 x 0
"""]
retval = [253]
Loading…
Cancel
Save