aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/encode_video.c
diff options
context:
space:
mode:
authorJohn Rummell <jrummell@chromium.org>2020-03-30 14:56:11 -0700
committerMichael Niedermayer <michael@niedermayer.cc>2020-07-02 19:55:09 +0200
commite9b952d2837cca0bfb5b556ffa76f2a7b0903bea (patch)
tree60b28987ba74c3189d0c58e891c4e0efc1429a1f /doc/examples/encode_video.c
parent47b6f07f32afbbbb8f3ddf3b26e9b9eb155ad46d (diff)
downloadffmpeg-e9b952d2837cca0bfb5b556ffa76f2a7b0903bea.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 'doc/examples/encode_video.c')
0 files changed, 0 insertions, 0 deletions