diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-06-30 21:11:25 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-07-07 19:29:28 +0200 |
commit | a9fba357e5da41db41aa6d33efd5d8f9ffe49574 (patch) | |
tree | b77f0635bc21b5048ae2b79923abdd45a09cc03d /libavcodec/yop.c | |
parent | ad609996e6467bcc1eba2a5cc1413b376e5bebec (diff) | |
download | ffmpeg-a9fba357e5da41db41aa6d33efd5d8f9ffe49574.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/yop.c')
0 files changed, 0 insertions, 0 deletions