summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-04-23 21:31:06 +0900
committerHermet Park <hermetpark@gmail.com>2019-04-23 21:33:40 +0900
commit1061d0a75164111ef5dc8df21f446023438f39bc (patch)
tree7b336591361ecf659084262a70fd4bf525999e41
parentcb0c20eaf3ba89ab850af5b813e6ddfb6cc4a15a (diff)
evas wbmp: remove unnecessary size overflow.
since this patch 68fe9ec6bf60b4730ad7fdbf2698dc7aa130b94d it checks size validation earlier, this varification doesn't need anymore...
-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++)