diff options
author | John Rummell <jrummell@chromium.org> | 2020-03-30 21:30:33 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-04-23 21:29:01 +0200 |
commit | 1881989f2f297c857fcffc50f57bcfb7a74fcb79 (patch) | |
tree | 190385a799847295e2d8149138318f99b45b813e /libavcodec/dct32.h | |
parent | 01e696609b62e29ea2a1276729ef6af3a011b4b1 (diff) | |
download | ffmpeg-1881989f2f297c857fcffc50f57bcfb7a74fcb79.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/dct32.h')
0 files changed, 0 insertions, 0 deletions