aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mss3.c
diff options
context:
space:
mode:
authorJohn Rummell <jrummell@chromium.org>2020-03-30 21:30:33 -0700
committerMichael Niedermayer <michael@niedermayer.cc>2020-07-01 12:49:26 +0200
commit3d1eed6b3db9477281f512059063249a63922030 (patch)
tree8f10fd4c14fadca61ae42e0eda5f38268c2a83d9 /libavcodec/mss3.c
parentd0a74df81bc69cdcedbe977796330ccb5856a71f (diff)
downloadffmpeg-3d1eed6b3db9477281f512059063249a63922030.tar.gz
libavformat/amr.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 initialized data. Caught by Chromium fuzzeras (crbug.com/1065731). Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 5b967f56b6d85f62446836fc8ef64d0dcfcbda17) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mss3.c')
0 files changed, 0 insertions, 0 deletions