summaryrefslogtreecommitdiffstats
path: root/sesman
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2015-12-26 17:22:27 -0800
committerJay Sorg <jay.sorg@gmail.com>2015-12-26 17:22:27 -0800
commit82614597079560ee4ec9e3c8559ff9187b464d6a (patch)
tree760548bf55fb2130ba6db3a51b42ce1990b63582 /sesman
parent040c3a3327d6953ea272172f717d4e11dd3533ab (diff)
downloadxrdp-proprietary-82614597079560ee4ec9e3c8559ff9187b464d6a.tar.gz
xrdp-proprietary-82614597079560ee4ec9e3c8559ff9187b464d6a.zip
chansrv: fix a crash in fuse
Diffstat (limited to 'sesman')
-rw-r--r--sesman/chansrv/chansrv_fuse.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sesman/chansrv/chansrv_fuse.c b/sesman/chansrv/chansrv_fuse.c
index b3499ad6..bf194a02 100644
--- a/sesman/chansrv/chansrv_fuse.c
+++ b/sesman/chansrv/chansrv_fuse.c
@@ -693,6 +693,11 @@ int xfuse_clear_clip_dir(void)
log_debug("entered");
+ if (g_xrdp_fs.inode_table == NULL)
+ {
+ return 0;
+ }
+
/* xinode for .clipboard */
xip = g_xrdp_fs.inode_table[2];