libx11: Add missing NULL check
authorDrew Moseley <drew_moseley@mentor.com>
Sun, 27 Jul 2014 23:05:57 +0000 (19:05 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Jul 2014 08:58:27 +0000 (09:58 +0100)
commit4cd99e8a83a476550f46d2ef08e5bee9846e681d
tree92ed45e224d1fdcac097312d23de475bdcadc36e
parentbd36e1f44c32226f70477c0942e677bd695a5da3
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>
meta/recipes-graphics/xorg-lib/libx11/libX11-Add-missing-NULL-check.patch [new file with mode: 0644]
meta/recipes-graphics/xorg-lib/libx11_1.6.2.bb