diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-02-08 00:43:56 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-04-13 23:39:50 +0200 |
commit | 4b298c87213a481777e9512cc8a16c2b27670655 (patch) | |
tree | 93acb11dcd0c0d4ba3f2624047a60021c6ba80b1 /libavformat/hevcdec.c | |
parent | 4e305299d993868490fb25ebffcc34ea6549a3ef (diff) | |
download | ffmpeg-4b298c87213a481777e9512cc8a16c2b27670655.tar.gz |
avcodec/sonic: Use unsigned for predictor_k to avoid undefined behavior
Fixes: signed integer overflow: -1094995529 * 24 cannot be represented in type 'int'
Fixes: 44436/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SONIC_fuzzer-4874459459223552
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 28008bf95ed9b2ab5945ae6658358ad7c7f1df35)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/hevcdec.c')
0 files changed, 0 insertions, 0 deletions