Kevin Backhouse 1 year ago
parent 36e3d55fed
commit 9d45a1dcae
No known key found for this signature in database
GPG Key ID: 9DD01852EE40366E

@ -0,0 +1,17 @@
# -*- coding: utf-8 -*-
from system_tests import CaseMeta, CopyTmpFiles, path, check_no_ASAN_UBSAN_errors
class QuickTimeVideoNikonTagsDecoderOutOfBoundsRead(metaclass=CaseMeta):
"""
Regression test for the bug described in:
https://github.com/Exiv2/exiv2/security/advisories/GHSA-g9xm-7538-mq8w
"""
url = "https://github.com/Exiv2/exiv2/security/advisories/GHSA-g9xm-7538-mq8w"
filename = path("$data_path/issue_ghsa_g9xm_7538_mq8w_poc.mov")
commands = ["$exiv2 $filename"]
retval = [1]
compare_stdout = check_no_ASAN_UBSAN_errors
compare_stderr = check_no_ASAN_UBSAN_errors

@ -117,6 +117,7 @@ def get_valid_files(data_dir):
"issue_ghsa_7569_phvm_vwc2_poc.jp2",
"issue_ghsa_mxw9_qx4c_6m8v_poc.jp2",
"issue_ghsa_hrw9_ggg3_3r4r_poc.jpg",
"issue_ghsa_g9xm_7538_mq8w_poc.mov",
"pocIssue283.jpg",
"poc_1522.jp2",
"xmpsdk.xmp",

Loading…
Cancel
Save