diff options
author | John Rummell <jrummell@chromium.org> | 2020-03-30 14:56:11 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-04-23 21:29:01 +0200 |
commit | e11e62a80a0a3a0336d5e4ce0861cecc4a2d5c3a (patch) | |
tree | 694e120808cd40e21e481526ac294cadbd5bd996 /libavcodec/h263data.h | |
parent | e1430e1e2b504b8261d48264a3d88ce99702d4b8 (diff) | |
download | ffmpeg-e11e62a80a0a3a0336d5e4ce0861cecc4a2d5c3a.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/h263data.h')
0 files changed, 0 insertions, 0 deletions