mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-17 12:51:36 +00:00
Merge commit '7ba0cedbfeff5671b264d1d7e90777057b5714c6'
* commit '7ba0cedbfeff5671b264d1d7e90777057b5714c6': rpza: Fix a buffer size check Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
1eead87766
@ -204,7 +204,7 @@ static void rpza_decode_stream(RpzaContext *s)
|
|||||||
|
|
||||||
/* Fill block with 16 colors */
|
/* Fill block with 16 colors */
|
||||||
case 0x00:
|
case 0x00:
|
||||||
if (s->size - stream_ptr < 16)
|
if (s->size - stream_ptr < 30)
|
||||||
return;
|
return;
|
||||||
ADVANCE_BLOCK();
|
ADVANCE_BLOCK();
|
||||||
block_ptr = row_ptr + pixel_ptr;
|
block_ptr = row_ptr + pixel_ptr;
|
||||||
|
Loading…
Reference in New Issue
Block a user