aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/xsubenc.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-01 12:49:26 +0200
commit77620689e5d9fe6def8b44d25222dc2898310b78 (patch)
tree067945aab2c8238983569b22f19165b9e1f9fb3a /libavcodec/xsubenc.c
parentb39e085d0cdb34fbb6f7af43e11deb1168277719 (diff)
downloadffmpeg-77620689e5d9fe6def8b44d25222dc2898310b78.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/xsubenc.c')
0 files changed, 0 insertions, 0 deletions