diff options
author | Mihai Moldovan <ionic@ionic.de> | 2018-03-15 08:45:00 +0100 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2018-03-15 08:45:00 +0100 |
commit | 6f8cdebc6c3af00bf40fc56121763c7de9634e03 (patch) | |
tree | 6f677dec97fcf8e67c1081ca967a4dba666e05f6 /nx-X11/programs/Xserver/hw | |
parent | 63e113de9e145d10fddba84ce90efc8b49687dc1 (diff) | |
download | nx-libs-6f8cdebc6c3af00bf40fc56121763c7de9634e03.tar.gz nx-libs-6f8cdebc6c3af00bf40fc56121763c7de9634e03.tar.bz2 nx-libs-6f8cdebc6c3af00bf40fc56121763c7de9634e03.zip |
nx-X11/programs/Xserver/hw/nxagent/Screen.c: initialize pointers to NULL to avoid referencing random data.
Diffstat (limited to 'nx-X11/programs/Xserver/hw')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c index d8934a636..333fda743 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; |