summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-lib/libx11_1.6.2.bb
diff options
context:
space:
mode:
authorDrew Moseley <drew_moseley@mentor.com>2014-07-27 19:05:57 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-29 09:57:22 +0100
commitf7d8947744d7dd1d08721ef0e707912304722d2b (patch)
tree038b3ced57377587d6a7c71350237a341be2cf9f /meta/recipes-graphics/xorg-lib/libx11_1.6.2.bb
parent1d9d035f07be1cef2764949d84cecbff7dd428dd (diff)
downloadopenembedded-core-f7d8947744d7dd1d08721ef0e707912304722d2b.tar.gz
libx11: Add missing NULL check
Add a check for NULL on dereferencing the xim pointer. Using mplayer with the x11 backend will trigger this and result in a segfault. Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-lib/libx11_1.6.2.bb')
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11_1.6.2.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libx11_1.6.2.bb b/meta/recipes-graphics/xorg-lib/libx11_1.6.2.bb
index 700bc3680f..a7226480c2 100644
--- a/meta/recipes-graphics/xorg-lib/libx11_1.6.2.bb
+++ b/meta/recipes-graphics/xorg-lib/libx11_1.6.2.bb
@@ -5,6 +5,7 @@ BBCLASSEXTEND = "native nativesdk"
SRC_URI += "file://disable_tests.patch \
file://nls-always-use-XCOMM-instead-of-for-comments-in-Comp.patch \
+ file://libX11-Add-missing-NULL-check.patch \
"
SRC_URI[md5sum] = "c35d6ad95b06635a524579e88622fdb5"