Regression test for https://github.com/Exiv2/exiv2/issues/2320
This commit is contained in:
parent
5c90684441
commit
df59a6bb67
BIN
test/data/issue_2320_poc.jpg
Normal file
BIN
test/data/issue_2320_poc.jpg
Normal file
Binary file not shown.
11
tests/bugfixes/github/test_issue_2320.py
Normal file
11
tests/bugfixes/github/test_issue_2320.py
Normal file
@ -0,0 +1,11 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from system_tests import CaseMeta, check_no_ASAN_UBSAN_errors
|
||||
|
||||
class issue_2320_printDegrees_integer_overflow(metaclass=CaseMeta):
|
||||
url = "https://github.com/Exiv2/exiv2/issues/2320"
|
||||
filename = "$data_path/issue_2320_poc.jpg"
|
||||
commands = ["$exiv2 -q -pa $filename"]
|
||||
retval = [0]
|
||||
stderr = [""]
|
||||
compare_stdout = check_no_ASAN_UBSAN_errors
|
||||
@ -92,6 +92,7 @@ def get_valid_files(data_dir):
|
||||
"issue_2160_poc.jpg",
|
||||
"issue_2178_poc.jp2",
|
||||
"issue_2268_poc.jp2",
|
||||
"issue_2320_poc.jpg",
|
||||
"issue_ghsa_583f_w9pm_99r2_poc.jp2",
|
||||
"issue_ghsa_7569_phvm_vwc2_poc.jp2",
|
||||
"issue_ghsa_mxw9_qx4c_6m8v_poc.jp2",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user