Fix coverity issue 82/212982/3
authorjiyong.min <jiyong.min@samsung.com>
Thu, 29 Aug 2019 05:18:45 +0000 (14:18 +0900)
committerjiyong.min <jiyong.min@samsung.com>
Thu, 29 Aug 2019 06:28:38 +0000 (15:28 +0900)
commitb34bc31107b88da925711dd172de4c818e1b949d
tree9cbe99966d71dd988f6fbfc8db6e5689016a25e7
parent0c9c558b3ba57e7e6dbe5db2d28a8fb27a7d2614
Fix coverity issue

 - Out-of-bounds issue to read image_format_mimetype_table
 - 'MM_UTIL_COLOR_NUM' is larger than array_size but the array
   can access with array_size(table_size).
: So 'MM_UTIL_COLOR_NUM' is replaced to real array_size.

Change-Id: I7804cd4d510499b46d96183a1afc918fc0ffc444
src/image_util_private.c