On 05/18/15 06:49 AM, Ross Burton wrote:
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.
Patch originally by Drew Moseley <[email protected]>.
Signed-off-by: Ross Burton <[email protected]>
---
src/xlibi18n/ICWrap.c | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
Thanks - makes sense and looks good to me, so pushed to git master:
To ssh://git.freedesktop.org/git/xorg/lib/libX11
26e0d2d..c827edc master -> master
--
-Alan Coopersmith- [email protected]
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel