Regression test for https://github.com/Exiv2/exiv2/issues/2366
parent
d856ca7d82
commit
a94b02063a
Binary file not shown.
@ -0,0 +1,16 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
from system_tests import CaseMeta, check_no_ASAN_UBSAN_errors
|
||||||
|
|
||||||
|
class issue_2366_QuickTimeVideo_userDataDecoder_buffer_overflow(metaclass=CaseMeta):
|
||||||
|
url = "https://github.com/Exiv2/exiv2/issues/2366"
|
||||||
|
filename = "$data_path/issue_2366_poc.mp4"
|
||||||
|
commands = ["$exiv2 $filename"]
|
||||||
|
retval = [253]
|
||||||
|
stderr = ["""$filename: No Exif data found in the file
|
||||||
|
"""]
|
||||||
|
stdout = ["""File name : $filename
|
||||||
|
File size : 159 Bytes
|
||||||
|
MIME type : video/quicktime
|
||||||
|
Image size : 0 x 0
|
||||||
|
"""]
|
Loading…
Reference in New Issue