diff options
author | John Rummell <jrummell@chromium.org> | 2020-03-30 21:30:33 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-05-19 17:17:36 +0200 |
commit | 83b2cc152d772d79141235233662b2080ec909c2 (patch) | |
tree | 23788093ca1062942c9fa57e642e8693985a017c /libavformat/gxf.c | |
parent | 8c73f802768b5d2506510ba69c2eb63da890161f (diff) | |
download | ffmpeg-83b2cc152d772d79141235233662b2080ec909c2.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 'libavformat/gxf.c')
0 files changed, 0 insertions, 0 deletions