Summary: | Missing NULL check on xim | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Drew Moseley <drew> | ||||
Component: | Lib/Xlib | Assignee: | Xorg Project Team <xorg-team> | ||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||
Severity: | normal | ||||||
Priority: | medium | ||||||
Version: | git | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
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.
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.