diff options
author | John Rummell <jrummell@chromium.org> | 2020-03-30 21:30:33 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-07-02 19:55:09 +0200 |
commit | 1e61cc5c51357f30f3e5ddcf69868b68afccc407 (patch) | |
tree | 5d1082b476406200300fbaa8809000c5932d4f46 /libavfilter/vf_premultiply.c | |
parent | c703bdf3c8617016589b2896a3b5e23c2b0c236d (diff) | |
download | ffmpeg-1e61cc5c51357f30f3e5ddcf69868b68afccc407.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 'libavfilter/vf_premultiply.c')
0 files changed, 0 insertions, 0 deletions