(libX11-1.6.3) Dereferencing a pointer that might be null.
Submitted by Bhavi Dhingra
Assigned to Xorg Project Team
Description
Created attachment 118481 NULL check added to prevent crash
In libX11/modules/im/ximcp/imDefLkup.c, Line #91 (closed), _XimICOfXICID returns NULL, Assigning: ic = null return value from _XimICOfXICID Dereferencing a pointer that might be null ic when calling _XimProcICSetEventMask
Hence, adding a NULL check to avoid crash.
Attachment 118481, "NULL check added to prevent crash":
imDefLkup.patch