]> code.ossystems Code Review - openembedded-core.git/commit
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:57:22 +0000 (09:57 +0100)
commitf7d8947744d7dd1d08721ef0e707912304722d2b
tree038b3ced57377587d6a7c71350237a341be2cf9f
parent1d9d035f07be1cef2764949d84cecbff7dd428dd
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>
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