Fix out of bounds write

pull/9808/head
blendin 8 years ago committed by Alexander Alekhin
parent 7997e7aee9
commit 0202e52747
  1. 3
      modules/highgui/src/grfmt_bmp.cpp

@ -367,6 +367,9 @@ decode_rle4_bad: ;
gray_palette[code] );
line_end_flag = y - prev_y;
if( y >= m_height )
break;
}
else if( code > 2 ) // absolute mode
{

Loading…
Cancel
Save