aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mf_utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2024-09-19 19:43:03 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2024-09-24 15:37:15 +0200
commitad35eaf848bb605d9b2b3a638265ac9d385878e3 (patch)
treebf78dc37e244dc17abd7f0d9896d451bc089ed4d /libavcodec/mf_utils.c
parentf2aba7bd9f26aa7f6c86644ca96bc4698c9f61c2 (diff)
downloadffmpeg-ad35eaf848bb605d9b2b3a638265ac9d385878e3.tar.gz
avcodec/osq: Treat sum = 0 as k = 0
We have no valid sample that triggers this so we do not know if this would decode correctly, but -inf is not the correct k value Fixes: Assertion n>=0 && n<=32 failed at libavcodec/get_bits.h:423 Fixes: -inf is outside the range of representable values of type 'int' Fixes: 70709/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_OSQ_fuzzer-6223623839350784 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Diffstat (limited to 'libavcodec/mf_utils.c')
0 files changed, 0 insertions, 0 deletions