diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-10-02 19:26:51 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-11-15 12:25:46 +0100 |
commit | d458cfdcca2a1a68f1a731c43df2587c1aa1ab89 (patch) | |
tree | ffc779aec77eef8399c2e827804cf40ff456d455 /libavcodec/aliaspixenc.c | |
parent | 29f07606b6b13739e8a19dc8eeab183fdde74ce8 (diff) | |
download | ffmpeg-d458cfdcca2a1a68f1a731c43df2587c1aa1ab89.tar.gz |
avcodec/wmaprodec: Check if there is a stream
Fixes: null pointer dereference
Fixes: signed integer overflow: 512 * 2147483647 cannot be represented in type 'int'
Fixes: 17809/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_XMA1_fuzzer-5634409947987968
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 9b533de28eb19c660c75823ff2af2f8549c4095a)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/aliaspixenc.c')
0 files changed, 0 insertions, 0 deletions