[debian-edu-commits] debian-edu/ 05/08: VUL: call libxrdp_disconnect if libxrdp_process_incomming fails

Dominik George natureshadow-guest at moszumanska.debian.org
Thu Oct 6 21:01:36 UTC 2016


This is an automated email from the git hooks/post-receive script.

natureshadow-guest pushed a commit to annotated tag v0.6.1
in repository xrdp.

commit 854446d43228b20283e78d20ee5402257961cce0
Author: Jay Sorg <jay.sorg at gmail.com>
Date:   Tue Sep 10 10:45:09 2013 -0700

    VUL: call libxrdp_disconnect if libxrdp_process_incomming fails
---
 xrdp/xrdp_process.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/xrdp/xrdp_process.c b/xrdp/xrdp_process.c
index 905db92..4cf7825 100644
--- a/xrdp/xrdp_process.c
+++ b/xrdp/xrdp_process.c
@@ -187,6 +187,12 @@ xrdp_process_main_loop(struct xrdp_process* self)
     }
     libxrdp_disconnect(self->session);
   }
+  else
+  {
+    /* this will try to send a disconnect,
+       maybe should check that connection got far enough */
+    libxrdp_disconnect(self->session);
+  }
   xrdp_process_mod_end(self);
   libxrdp_exit(self->session);
   self->session = 0;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/xrdp.git



More information about the debian-edu-commits mailing list