diff options
author | John Rummell <jrummell@chromium.org> | 2020-03-30 14:56:11 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-05-19 17:17:36 +0200 |
commit | 33bdb19d2378d16d70e8e3a473d16e1ad8906102 (patch) | |
tree | 37037be5833277a20655d70e27eb6be9e456fc19 /libavformat/gxf.c | |
parent | 52dbafe7b6d356a9d5ddad4fbf0ae09fd478175d (diff) | |
download | ffmpeg-33bdb19d2378d16d70e8e3a473d16e1ad8906102.tar.gz |
libavformat/oggdec.c: Check return value from avio_read()
If the buffer doesn't contain enough bytes when reading a stream,
fail rather than continuing on with unitialized data. Caught by
Chromium fuzzers (crbug.com/1054229).
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit b7c67b1ae3657058b32b9235119d07529ad5cce1)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/gxf.c')
0 files changed, 0 insertions, 0 deletions