diff options
author | John Rummell <jrummell@chromium.org> | 2020-03-30 21:30:33 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-07-01 12:49:26 +0200 |
commit | 3d1eed6b3db9477281f512059063249a63922030 (patch) | |
tree | 8f10fd4c14fadca61ae42e0eda5f38268c2a83d9 /compat | |
parent | d0a74df81bc69cdcedbe977796330ccb5856a71f (diff) | |
download | ffmpeg-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 'compat')
0 files changed, 0 insertions, 0 deletions