Regression test for https://github.com/Exiv2/exiv2/issues/2339
parent
557c26ad33
commit
d15fdee91e
Binary file not shown.
@ -0,0 +1,14 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
from system_tests import CaseMeta, check_no_ASAN_UBSAN_errors
|
||||||
|
|
||||||
|
class issue_2339_printDegrees_integer_overflow(metaclass=CaseMeta):
|
||||||
|
url = "https://github.com/Exiv2/exiv2/issues/2339"
|
||||||
|
filename = "$data_path/issue_2339_poc.tiff"
|
||||||
|
commands = ["$exiv2 -q -pa $filename"]
|
||||||
|
retval = [0]
|
||||||
|
stderr = [""]
|
||||||
|
stdout = ["""Exif.Image.ExifTag SLong 7 2 10 538976288 -2023161847 7 4 -822083584
|
||||||
|
Exif.GPSInfo.GPSDestLatitude Float 3 (9.80908925027372e-45 5.60519385729927e-45 -2147483648)
|
||||||
|
"""]
|
||||||
|
|
Loading…
Reference in New Issue