diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-06-30 21:11:25 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-09 13:37:20 +0200 |
commit | bf0b15d76a91b1f885dc17b776246986399a1933 (patch) | |
tree | 79278e41f6799253f4093f0fc08e15c1838f9490 /libavcodec/cscd.c | |
parent | 32815740f7bc5c6566d8369a849c8a164ed594f4 (diff) | |
download | ffmpeg-bf0b15d76a91b1f885dc17b776246986399a1933.tar.gz |
avcodec/loco: Fix integer overflow with large values from loco_get_rice()
Fixes: signed integer overflow: 155 + 2147483647 cannot be represented in type 'int'
Fixes: 23421/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LOCO_fuzzer-5652849097965568
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 3ddc5e1f3cebca25ade54ee68159d305f210bf5f)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/cscd.c')
0 files changed, 0 insertions, 0 deletions