diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2019-04-29 22:02:47 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2019-05-10 19:02:51 +0200 |
commit | dece08252b6696b74091ebcde3dc557e2e60171b (patch) | |
tree | e4cd7dadbd1a26b4371961b57e79397417c3a15a /nx-X11/programs/Xserver | |
parent | ff5740e039c05e04952496fe67385187daa53222 (diff) | |
download | nx-libs-dece08252b6696b74091ebcde3dc557e2e60171b.tar.gz nx-libs-dece08252b6696b74091ebcde3dc557e2e60171b.tar.bz2 nx-libs-dece08252b6696b74091ebcde3dc557e2e60171b.zip |
Reconnect.c: initialize stateFile path
We check that via strlen() while never properly initializing it.
Diffstat (limited to 'nx-X11/programs/Xserver')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Reconnect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Reconnect.c b/nx-X11/programs/Xserver/hw/nxagent/Reconnect.c index a921df6ca..b78c01e30 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Reconnect.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Reconnect.c @@ -134,7 +134,7 @@ static enum RECONNECTION_STEP failedStep; /* * Path of state File */ -char stateFile[PATH_MAX]; +char stateFile[PATH_MAX] = {0}; void setStatePath(char* path) |