diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-12-23 20:20:08 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-12-25 11:59:47 +0100 |
commit | 10add8bb66b7c9d5999aa5b5a37eef3df27e934a (patch) | |
tree | aabd31358c2bf7161ed9d08e3c06c0bd861c2bd8 /libavcodec/startcode.c | |
parent | 209488ccb0f38fbb384a4821f8c170986255d21b (diff) | |
download | ffmpeg-10add8bb66b7c9d5999aa5b5a37eef3df27e934a.tar.gz |
avcodec/cdgraphics: avoid signed overflow in alpha
Fixes: left shift of 255 by 24 places cannot be represented in type 'int'
Fixes: 42766/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CDGRAPHICS_fuzzer-5142826105569280
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/startcode.c')
0 files changed, 0 insertions, 0 deletions