edje_entry: fix out-ouf-bounds issue in _edje_entry_imf_event_preedit_changed_cb
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 27 Nov 2013 00:31:26 +0000 (09:31 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 27 Nov 2013 00:31:26 +0000 (09:31 +0900)
commit3d2b7f2ec131a2de44c9dc75bd897f210a91805d
treedf9d4b9b57a4f65e2cce6b8919a6826a77bea44a
parent2ebd985b316e258bffff6fe1b93aa881b0a67775
edje_entry: fix out-ouf-bounds issue in _edje_entry_imf_event_preedit_changed_cb

The maximum index of tagname is 7, and preedit_type_size is equal to 8.
Checking "attr->preedit_type <= preedit_type_size" implies that the value of "attr->preedit_type" may be up to 8

This patch fixes CID 1039308
src/lib/edje/edje_entry.c