mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
avcodec/pixlet: Fixes: runtime error: signed integer overflow: 9203954323419769657 + 29897660706736950 cannot be represented in type 'long'
Fixes: 1569/clusterfuzz-testcase-minimized-6328690508038144 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit a453f5549a8c3f8307200b32d3b342f0b4af3153) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
340690e8e6
commit
611ef6381b
@ -256,7 +256,7 @@ static int read_high_coeffs(AVCodecContext *avctx, uint8_t *src, int16_t *dst, i
|
|||||||
j = 0;
|
j = 0;
|
||||||
dst += stride;
|
dst += stride;
|
||||||
}
|
}
|
||||||
state += (int64_t)d * yflag - ((int64_t)(d * (uint64_t)state) >> 8);
|
state += (int64_t)d * (uint64_t)yflag - ((int64_t)(d * (uint64_t)state) >> 8);
|
||||||
|
|
||||||
flag = 0;
|
flag = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user