diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-09-29 01:22:37 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-11-11 20:18:48 +0100 |
commit | 6996d323a00f5ec23f2998218267af55899a0a3c (patch) | |
tree | 212d876a3d5a8b7a6c4049329fa37e41e304f591 /libavcodec/libx264.c | |
parent | 94125bb1d69ca5d0591c0bd787bfeb7f82e32659 (diff) | |
download | ffmpeg-6996d323a00f5ec23f2998218267af55899a0a3c.tar.gz |
avcodec/pcm: Check bits_per_coded_sample
Fixes: shift exponent -2 is negative
Fixes: 17736/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PCM_F16LE_fuzzer-5742815929171968
Fixes: 17998/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PCM_F24LE_fuzzer-5716980383875072
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 5de19160a3c0dedb3cefd00e863a8d8f74ca2ad0)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/libx264.c')
0 files changed, 0 insertions, 0 deletions