File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 1+ # -*- coding: utf-8 -*-
2+
3+ from system_tests import CaseMeta , path
4+
5+ class PanasonicMakerPrintAccelerometerIntOverflow (metaclass = CaseMeta ):
6+ """
7+ Regression test for the bug described in:
8+ https://github.com/Exiv2/exiv2/issues/2006
9+ """
10+ url = "https://github.com/Exiv2/exiv2/issues/2006"
11+
12+ filename = path ("$data_path/issue_2006_poc.tiff" )
13+ commands = ["$exiv2 -q -PE $filename" ]
14+ stderr = ["" ]
15+ stdout = ["""Exif.Image.Make Ascii 32 Panasonic
16+ Exif.Image.DNGPrivateData 0x2020 32 80 97 110 97 115 111 110 105 99 32 32 32 0 32 32 255 32 32 32 32 32 255 255 255 32 255 255 198 52 32 32 0
17+ Exif.MakerNote.Offset Long 1 48
18+ Exif.MakerNote.ByteOrder Ascii 3 MM
19+ Exif.Panasonic.AccelerometerY SLong 4 2147483425
20+ """ ]
21+ retval = [0 ]
You can’t perform that action at this time.
0 commit comments