diff options
author | John Rummell <[email protected]> | 2020-03-30 21:30:33 -0700 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2020-04-03 00:58:07 +0200 |
commit | 5b967f56b6d85f62446836fc8ef64d0dcfcbda17 (patch) | |
tree | 5e5d8cd9d42c5b708e532d04c84081afe1544362 /tools/target_dec_fuzzer.c | |
parent | 4700f7d6fce3ae3fcce86e069edf16b6cbae614b (diff) |
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 <[email protected]>
Diffstat (limited to 'tools/target_dec_fuzzer.c')
0 files changed, 0 insertions, 0 deletions