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.
19 lines
623 B
Python
19 lines
623 B
Python
# -*- 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-crmj-qh74-2r36
|
|
"""
|
|
url = "https://github.com/Exiv2/exiv2/security/advisories/GHSA-crmj-qh74-2r36"
|
|
|
|
filename = path("$data_path/issue_ghsa_crmj_qh74_2r36_poc.mov")
|
|
commands = ["$exiv2 $filename"]
|
|
retval = [1]
|
|
stderr = ["""$exiv2_exception_message $filename:
|
|
$kerCorruptedMetadata
|
|
"""]
|
|
stdout = [""]
|