You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
656 B
Python
22 lines
656 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
import system_tests
|
|
class issue_1522_exif_asan(metaclass=system_tests.CaseMeta):
|
|
url = "https://github.com/Exiv2/exiv2/issues/1522"
|
|
filename = "$data_path/poc_1522.jp2"
|
|
commands = ["$exiv2 -q $filename"
|
|
,"$exiv2 -pS $filename"
|
|
]
|
|
retval = [ 1,1 ]
|
|
stderr = [ """$exiv2_exception_message $filename:
|
|
$kerCorruptedMetadata
|
|
""","""$exiv2_exception_message $filename:
|
|
$kerCorruptedMetadata
|
|
"""]
|
|
stdout = ["","""STRUCTURE OF JPEG2000 FILE: $filename
|
|
address | length | box | data
|
|
0 | 12 | jP |
|
|
12 | 25 | uuid | Exif: .
|
|
"""
|
|
]
|