Skip to content

Commit 5ee8103

Browse files
kevinbackhouseantermin
authored andcommitted
Regression test for Exiv2#2268
1 parent 3943bc3 commit 5ee8103

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

test/data/issue_2268_poc.jp2

97 Bytes
Binary file not shown.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# -*- coding: utf-8 -*-
2+
3+
from system_tests import CaseMeta, check_no_ASAN_UBSAN_errors
4+
5+
class issue_2268_jp2_assert(metaclass=CaseMeta):
6+
url = "https://github.com/Exiv2/exiv2/issues/2268"
7+
filename = "$data_path/issue_2268_poc.jp2"
8+
commands = ["$exiv2 -pS $filename"]
9+
retval = [1]
10+
stderr = ["""$exiv2_exception_message $filename:
11+
$kerCorruptedMetadata
12+
"""]
13+
compare_stdout = check_no_ASAN_UBSAN_errors

0 commit comments

Comments
 (0)