mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-17 20:17:55 +02:00
avcodec/ituh263dec: Fix runtime error: left shift of negative value -22
Fixes: 639/clusterfuzz-testcase-5143866241974272 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 631f7484918a9e7260377c3cea878be708609e64) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
a9d1e7d3c8
commit
d6419e984f
@ -524,7 +524,7 @@ retry:
|
||||
}else{
|
||||
level = SHOW_UBITS(re, &s->gb, 5);
|
||||
SKIP_CACHE(re, &s->gb, 5);
|
||||
level |= SHOW_SBITS(re, &s->gb, 6)<<5;
|
||||
level |= SHOW_SBITS(re, &s->gb, 6) * (1<<5);
|
||||
SKIP_COUNTER(re, &s->gb, 5 + 6);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user