Commit 1eead877 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '7ba0cedb'

* commit '7ba0cedb':
  rpza: Fix a buffer size check
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 1ad36551 7ba0cedb
......@@ -204,7 +204,7 @@ static void rpza_decode_stream(RpzaContext *s)
/* Fill block with 16 colors */
case 0x00:
if (s->size - stream_ptr < 16)
if (s->size - stream_ptr < 30)
return;
ADVANCE_BLOCK();
block_ptr = row_ptr + pixel_ptr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment