diff options
author | John Rummell <jrummell@chromium.org> | 2020-03-30 14:56:11 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-07-03 12:10:23 +0200 |
commit | cd655e4c0dc75a5de43d66af664d9347a82c2059 (patch) | |
tree | 7a83276a1ad7b97243affecdd9390cf47c55e909 /libavcodec | |
parent | 12a53bf6731f6d56b61571f68154b83ad30c565c (diff) | |
download | ffmpeg-cd655e4c0dc75a5de43d66af664d9347a82c2059.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 'libavcodec')
0 files changed, 0 insertions, 0 deletions