GNOME Bugzilla – Bug 644906
gtkimcontextime.c: NULL pointer reference
Last modified: 2011-06-06 23:34:31 UTC
Created attachment 183506 [details] [review] Patch for modules/input/gtkimcontextime.c When GTK+ runs with inputim-ime.dll module, there is NULL pointer reference. Because "context_ime->client_window" may be NULL in gtk_im_context_ime_reset. So we must check the value. For example, following code is inserted before GDK_WINDOW_HWND macro. if (!context_ime->client_window) return;