aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/Statistics.h
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2015-05-18 14:49:01 +0100
committerUlrich Sibiller <uli42@gmx.de>2016-10-19 21:40:29 +0200
commit1445735ef8fb669de0b96f01939c77ce285b5f4c (patch)
tree84ce001f2458659acd9589f706a02615dbe97408 /nxcomp/Statistics.h
parent39dd37d57b7bab3e44304562d1bbf9722bf3e03e (diff)
downloadnx-libs-1445735ef8fb669de0b96f01939c77ce285b5f4c.tar.gz
nx-libs-1445735ef8fb669de0b96f01939c77ce285b5f4c.tar.bz2
nx-libs-1445735ef8fb669de0b96f01939c77ce285b5f4c.zip
Add missing NULL checks to ICWrap
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 <drew_moseley@mentor.com>. Signed-off-by: Ross Burton <ross.burton@intel.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nxcomp/Statistics.h')
0 files changed, 0 insertions, 0 deletions