From 46f9afb357b48244feadf1300fa6a379ed33d940 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 3 Mar 2017 11:17:22 +0100 Subject: hw/nxagent/Display.c: Fix uninitialized newAction in nxagentResetSignalHandlers(). Fixes ArcticaProject/nx-libs#328. --- nx-X11/programs/Xserver/hw/nxagent/Display.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nx-X11/programs/Xserver') 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. -- cgit v1.2.3