diff options
author | Drew Moseley <drew_moseley@mentor.com> | 2014-07-27 19:05:57 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-29 09:58:27 +0100 |
commit | 062bd810fcd8c3d80689ab404766d20c9251dca6 (patch) | |
tree | 1cfadf6f253e2c3a7fd0bdcc4a5bfa3362ddd034 /meta/recipes-graphics/xorg-lib/libx11_1.6.2.bb | |
parent | 6a7b98993350d0d24eae0058ae26ae19cfdf7c4c (diff) | |
download | poky-062bd810fcd8c3d80689ab404766d20c9251dca6.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.
(From OE-Core rev: f7d8947744d7dd1d08721ef0e707912304722d2b)
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.bb | 1 |
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" | |||
5 | 5 | ||
6 | SRC_URI += "file://disable_tests.patch \ | 6 | SRC_URI += "file://disable_tests.patch \ |
7 | file://nls-always-use-XCOMM-instead-of-for-comments-in-Comp.patch \ | 7 | file://nls-always-use-XCOMM-instead-of-for-comments-in-Comp.patch \ |
8 | file://libX11-Add-missing-NULL-check.patch \ | ||
8 | " | 9 | " |
9 | 10 | ||
10 | SRC_URI[md5sum] = "c35d6ad95b06635a524579e88622fdb5" | 11 | SRC_URI[md5sum] = "c35d6ad95b06635a524579e88622fdb5" |