forked from enlightenment/efl
evas wbmp: remove unnecessary size overflow.
since this patch 68fe9ec6bf
it checks size validation earlier,
this varification doesn't need anymore...
This commit is contained in:
parent
cb0c20eaf3
commit
1061d0a751
|
@ -163,7 +163,6 @@ evas_image_load_file_data_wbmp(void *loader_data,
|
|||
|
||||
for (y = 0; y < (int)prop->h; y++)
|
||||
{
|
||||
if (position + line_length > length) goto bail;
|
||||
line = ((unsigned char*) map) + position;
|
||||
position += line_length;
|
||||
for (x = 0; x < (int)prop->w; x++)
|
||||
|
|
Loading…
Reference in New Issue