summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/evas/image_loaders/wbmp/evas_image_load_wbmp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/modules/evas/image_loaders/wbmp/evas_image_load_wbmp.c b/src/modules/evas/image_loaders/wbmp/evas_image_load_wbmp.c
index 00e67f3713..7f56da6d02 100644
--- a/src/modules/evas/image_loaders/wbmp/evas_image_load_wbmp.c
+++ b/src/modules/evas/image_loaders/wbmp/evas_image_load_wbmp.c
@@ -163,7 +163,6 @@ evas_image_load_file_data_wbmp(void *loader_data,
163 163
164 for (y = 0; y < (int)prop->h; y++) 164 for (y = 0; y < (int)prop->h; y++)
165 { 165 {
166 if (position + line_length > length) goto bail;
167 line = ((unsigned char*) map) + position; 166 line = ((unsigned char*) map) + position;
168 position += line_length; 167 position += line_length;
169 for (x = 0; x < (int)prop->w; x++) 168 for (x = 0; x < (int)prop->w; x++)