Commit c58152d9 authored by blendin's avatar blendin

Fix out of bounds write

parent 7475d23f
...@@ -375,6 +375,9 @@ decode_rle4_bad: ; ...@@ -375,6 +375,9 @@ decode_rle4_bad: ;
gray_palette[code] ); gray_palette[code] );
line_end_flag = y - prev_y; line_end_flag = y - prev_y;
if( y >= m_height )
break;
} }
else if( code > 2 ) // absolute mode else if( code > 2 ) // absolute mode
{ {
......
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