diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-04-24 22:55:55 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-04-25 22:32:16 +0200 |
commit | cca0436efc4ea662087690f5d1b0834fd39b1559 (patch) | |
tree | a59095b44af92624498a8cdd5212090b49f2711f /libavcodec/mpegaudioenc_template.c | |
parent | 56b9130fff1ab71f166995bda7583a83e86d2467 (diff) | |
download | ffmpeg-cca0436efc4ea662087690f5d1b0834fd39b1559.tar.gz |
avcodec/dirac_vlc: Fix integer overflow in ff_dirac_golomb_read_32/16bit()
Fixes: left shift of 1073741824 by 1 places cannot be represented in type 'int32_t' (aka 'int')
Fixes: 21245/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-5683334274613248
Change to int16_t suggested by Lynne
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mpegaudioenc_template.c')
0 files changed, 0 insertions, 0 deletions