aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/psd.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-03 12:10:23 +0200
commita09b223cd2a102313fc0ac6edf3a32dd1912b7f4 (patch)
treed460b91ddb68897f3f1b7451fd685c2ce803571e /libavcodec/psd.c
parent7f8e9d9b7716b1193e40dd8029268ed994ed18a5 (diff)
downloadffmpeg-a09b223cd2a102313fc0ac6edf3a32dd1912b7f4.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/psd.c')
0 files changed, 0 insertions, 0 deletions