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:
Hermet Park 2019-04-23 21:31:06 +09:00
parent cb0c20eaf3
commit 1061d0a751
1 changed files with 0 additions and 1 deletions

View File

@ -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++)