aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2018-10-22 22:44:23 +0200
committerUlrich Sibiller <uli42@gmx.de>2018-10-22 23:45:38 +0200
commit701e702a121029098a6123bee9e43a9b81f4b3d9 (patch)
treeeb5f9616387784ec1a5914395a9e3355baca2ce4
parente1938c189223164f3a75cf848e90ecc1d2e55d15 (diff)
downloadnx-libs-701e702a121029098a6123bee9e43a9b81f4b3d9.tar.gz
nx-libs-701e702a121029098a6123bee9e43a9b81f4b3d9.tar.bz2
nx-libs-701e702a121029098a6123bee9e43a9b81f4b3d9.zip
libNX_X11: upgrade to X.org upstream version 1.6.7
This commit is the only change between Xorg's libX11 1.6.6 and 1.6.7 that affects our code. So were are effectively now on par with libX11 1.6.7 (commit f3c978476e0be6813268af494efb7ac507451116) From: Bhavi Dhingra <b.dhingra@samsung.com> Date: Mon, 28 Sep 2015 08:33:40 +0000 Subject: [PATCH] XcmsLookupColor: fully initialize XColor structs passed to _XColor_to_XcmsRGB Fixes https://gitlab.freedesktop.org/xorg/lib/libx11/issues/44 aka https://bugs.freedesktop.org/show_bug.cgi?id=92154 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--nx-X11/lib/src/xcms/cmsLkCol.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nx-X11/lib/src/xcms/cmsLkCol.c b/nx-X11/lib/src/xcms/cmsLkCol.c
index 15e987424..a81c4cbf0 100644
--- a/nx-X11/lib/src/xcms/cmsLkCol.c
+++ b/nx-X11/lib/src/xcms/cmsLkCol.c
@@ -76,7 +76,8 @@ XcmsLookupColor (
register int n;
xLookupColorReply reply;
register xLookupColorReq *req;
- XColor def, scr;
+ XColor def = {0,};
+ XColor scr = {0,};
/*
* 0. Check for invalid arguments.