[X2Go-Commits] [nx-libs] 01/02: nx-X11/programs/Xserver/hw/nxagent/Screen.c: initialize pointers to NULL to avoid referencing random data.

git-admin at x2go.org git-admin at x2go.org
Thu Mar 15 08:46:50 CET 2018


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x
in repository nx-libs.

commit 6f8cdebc6c3af00bf40fc56121763c7de9634e03
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Mar 15 08:45:00 2018 +0100

    nx-X11/programs/Xserver/hw/nxagent/Screen.c: initialize pointers to NULL to avoid referencing random data.
---
 nx-X11/programs/Xserver/hw/nxagent/Screen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
index d8934a6..333fda7 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -4120,7 +4120,7 @@ int nxagentAdjustRandRXinerama(ScreenPtr pScreen)
 
     for (i = 0; i < pScrPriv->numOutputs; i++) {
       Bool disable_output = FALSE;
-      RRModePtr mymode, prevmode;
+      RRModePtr mymode = NULL, prevmode = NULL;
       int new_x = 0;
       int new_y = 0;
       unsigned int new_w = 0;

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list