aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-03-03 11:17:22 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-03-03 11:17:24 +0100
commit46f9afb357b48244feadf1300fa6a379ed33d940 (patch)
tree8c321ee67d928b001a8864440513674c91a7e9da /nx-X11
parent20029dbc8f7d03211ceaf00001418fb75b9df644 (diff)
downloadnx-libs-46f9afb357b48244feadf1300fa6a379ed33d940.tar.gz
nx-libs-46f9afb357b48244feadf1300fa6a379ed33d940.tar.bz2
nx-libs-46f9afb357b48244feadf1300fa6a379ed33d940.zip
hw/nxagent/Display.c: Fix uninitialized newAction in nxagentResetSignalHandlers().
Fixes ArcticaProject/nx-libs#328.
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Display.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Display.c b/nx-X11/programs/Xserver/hw/nxagent/Display.c
index eaee84855..85683503b 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Display.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Display.c
@@ -1109,6 +1109,8 @@ void nxagentResetSignalHandlers()
int result;
+ memset(&newAction, 0, sizeof(newAction));
+
/*
* Reset the signal handlers
* to a well known state.