Skip to content
Snippets Groups Projects
Commit 01a33b83 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avcodec/pictordec: Fix runtime error: left shift of 64 by 25 places cannot be...

avcodec/pictordec: Fix runtime error: left shift of 64 by 25 places cannot be represented in type 'int'

Fixes: 724/clusterfuzz-testcase-6738249571631104

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg


Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent fe57bf7c
No related branches found
No related tags found
No related merge requests found
...@@ -57,7 +57,7 @@ static void picmemset_8bpp(PicContext *s, AVFrame *frame, int value, int run, ...@@ -57,7 +57,7 @@ static void picmemset_8bpp(PicContext *s, AVFrame *frame, int value, int run,
} }
} }
static void picmemset(PicContext *s, AVFrame *frame, int value, int run, static void picmemset(PicContext *s, AVFrame *frame, unsigned value, int run,
int *x, int *y, int *plane, int bits_per_plane) int *x, int *y, int *plane, int bits_per_plane)
{ {
uint8_t *d; uint8_t *d;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment