Regression test for https://github.com/Exiv2/exiv2/issues/2427
This commit is contained in:
parent
dcc203b2bf
commit
9a133856ba
BIN
test/data/issue_2427_poc.jpg
Normal file
BIN
test/data/issue_2427_poc.jpg
Normal file
Binary file not shown.
13
tests/bugfixes/github/test_issue_2427.py
Normal file
13
tests/bugfixes/github/test_issue_2427.py
Normal file
@ -0,0 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from system_tests import CaseMeta, check_no_ASAN_UBSAN_errors
|
||||
|
||||
class issue_2427_BmffImage_brotliUncompress_memleak(metaclass=CaseMeta):
|
||||
url = "https://github.com/Exiv2/exiv2/issues/2427"
|
||||
filename = "$data_path/issue_2427_poc.jpg"
|
||||
commands = ["$exiv2 $filename"]
|
||||
retval = [1]
|
||||
stderr = ["""$exiv2_exception_message $filename:
|
||||
CL_SPACE
|
||||
"""]
|
||||
stdout = [""]
|
||||
@ -66,6 +66,7 @@ def get_valid_files(data_dir):
|
||||
"issue_2383_poc.mp4",
|
||||
"issue_2393_poc.mp4",
|
||||
"issue_2423_poc.mp4",
|
||||
"issue_2427_poc.jpg",
|
||||
"2018-01-09-exiv2-crash-001.tiff",
|
||||
"cve_2017_1000126_stack-oob-read.webp",
|
||||
"exiv2-bug1247.jpg",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user