diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2025-06-17 01:05:54 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2025-06-23 14:28:55 +0200 |
commit | c909ef31be96b6983698c3b01c675de8e5f2637a (patch) | |
tree | 83dc61633cb4a35fae8ad447016442484723b2d1 /tools/target_dec_fuzzer.c | |
parent | 983a3b17e45a93c1c3c8edab58b85ddc52e70caa (diff) | |
download | ffmpeg-c909ef31be96b6983698c3b01c675de8e5f2637a.tar.gz |
avcodec/osq: Fix signed integer overflow in update_stats()
Fixes: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself
Fixes: 410109093/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_OSQ_fuzzer-6550900028276736
Note, none of the available osq files uses update_stats(), this change may fix or break
files using coding_mode == 2. The code prior looks wrong though
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tools/target_dec_fuzzer.c')
0 files changed, 0 insertions, 0 deletions