summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2013-06-19 11:37:26 -0700
committerJay Sorg <jay.sorg@gmail.com>2013-06-19 11:37:26 -0700
commita6592ed69033f51cb41f4736034715a7f1e7f699 (patch)
tree5868db64a5feb424d7a3ff04d2a709fa93e234f1
parentd33bb5eb4e6910d2a5761034d07318c0156bd5c3 (diff)
downloadxrdp-proprietary-a6592ed69033f51cb41f4736034715a7f1e7f699.tar.gz
xrdp-proprietary-a6592ed69033f51cb41f4736034715a7f1e7f699.zip
sesman: fix for reading pid file
-rw-r--r--sesman/sesman.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sesman/sesman.c b/sesman/sesman.c
index 4a294a5e..72561cae 100644
--- a/sesman/sesman.c
+++ b/sesman/sesman.c
@@ -202,6 +202,7 @@ main(int argc, char **argv)
return 1;
}
+ g_memset(pid_s, 0, sizeof(pid_s));
error = g_file_read(fd, pid_s, 7);
if (-1 == error)