]> git.sesse.net Git - ffmpeg/commit
avcodec/dpcm: clip exponent into supported range in XAN DPCM
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 9 Apr 2020 13:37:55 +0000 (15:37 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 11 Apr 2020 16:15:58 +0000 (18:15 +0200)
commit20ade59d9633def4ebf84ec170f56367bfb6aa6c
tree85d1b42056e93bb4920e13d54b8dbc8ddf59e6b2
parent995d937827dda228e68eeffca10feeea32463cf7
avcodec/dpcm: clip exponent into supported range in XAN DPCM

Fixes: shift exponent 32 is too large for 32-bit type 'int'
Fixes: 21200/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_XAN_DPCM_fuzzer-5754704894361600
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dpcm.c