diff options
author | John Rummell <jrummell@chromium.org> | 2020-03-30 21:30:33 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-04-03 00:58:07 +0200 |
commit | 5b967f56b6d85f62446836fc8ef64d0dcfcbda17 (patch) | |
tree | 5e5d8cd9d42c5b708e532d04c84081afe1544362 /tools/python | |
parent | 4700f7d6fce3ae3fcce86e069edf16b6cbae614b (diff) | |
download | ffmpeg-5b967f56b6d85f62446836fc8ef64d0dcfcbda17.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>
Diffstat (limited to 'tools/python')
0 files changed, 0 insertions, 0 deletions