From 06d92b787ad12b693ee174ce8885636c5511b31c Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Tue, 10 Sep 2013 16:09:19 -0700 Subject: VUL: call libxrdp_disconnect if libxrdp_process_incomming fails --- xrdp/xrdp_process.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xrdp/xrdp_process.c') diff --git a/xrdp/xrdp_process.c b/xrdp/xrdp_process.c index 228bf630..4c52eaac 100644 --- a/xrdp/xrdp_process.c +++ b/xrdp/xrdp_process.c @@ -203,6 +203,9 @@ xrdp_process_main_loop(struct xrdp_process *self) else { g_writeln("xrdp_process_main_loop: libxrdp_process_incomming failed"); + /* this will try to send a disconnect, + maybe should check that connection got far enough */ + libxrdp_disconnect(self->session); } /* Run end in module */ xrdp_process_mod_end(self); -- cgit v1.2.1