Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=51751
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=52053 Avoid null pointer deref and heap buffer overflow.main
parent
a2cb06a28e
commit
459910c36a
Binary file not shown.
Binary file not shown.
@ -0,0 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from system_tests import CaseMeta, check_no_ASAN_UBSAN_errors
|
||||
|
||||
class issue_2376_QuickTimeVideo_userDataDecoder_null_deref(metaclass=CaseMeta):
|
||||
url = "https://github.com/Exiv2/exiv2/issues/2376"
|
||||
filename = "$data_path/issue_2376_poc.mp4"
|
||||
commands = ["$exiv2 $filename"]
|
||||
retval = [1]
|
||||
stderr = ["""$exiv2_exception_message $filename:
|
||||
$kerCorruptedMetadata
|
||||
"""]
|
||||
stdout = [""]
|
@ -0,0 +1,17 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from system_tests import CaseMeta, check_no_ASAN_UBSAN_errors
|
||||
|
||||
class issue_2377_QuickTimeVideo_userDataDecoder_buffer_overflow(metaclass=CaseMeta):
|
||||
url = "https://github.com/Exiv2/exiv2/issues/2377"
|
||||
filename = "$data_path/issue_2377_poc.mp4"
|
||||
commands = ["$exiv2 $filename"]
|
||||
retval = [253]
|
||||
stderr = ["""$filename: No Exif data found in the file
|
||||
"""]
|
||||
stdout = ["""File name : $filename
|
||||
File size : 225 Bytes
|
||||
MIME type : video/quicktime
|
||||
Image size : 0 x 0
|
||||
"""]
|
||||
|
Loading…
Reference in New Issue