xim immodule: fix dereference before NULL check issue in client_window_set
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 29 Nov 2013 02:35:44 +0000 (11:35 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 29 Nov 2013 02:35:44 +0000 (11:35 +0900)
commitd9e7615a52be7c1a4cf6c72ca1df92ef8488d1ae
tree0fa9105d5c12ff7887fe6c95e8122c3c10b1ca95
parentbab7612bb5b55043a5d9c1f5ae27769e758c37bd
xim immodule: fix dereference before NULL check issue in client_window_set

The variable 'info' can be NULL, therefore it should be checked before accessing.

This fixes CID 1039640
src/modules/ecore_imf/xim/ecore_imf_xim.c