Created attachment 103568 [details] Patch to add the missing checks for NULL. ICWrap.c dereferences the xim parameter passed in from client code without a NULL check. I have seen mplayer trigger this resulting in a segfault. In this case mplayer had called XOpenIM and NULL was returned which was later passed into XCreateIC.
Updated for master and resent to xorg-devel today.
Patch was pushed shortly after last update - forgot to close the bug report: https://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=c827edcd1c4a7f920aa25208083b5b58d60d2b44
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.