[Pkg-tigervnc-devel] [Git][debian-remote-team/tigervnc][master] Fix crash on disconnect for TigerVNC 1.9 if internal http server used (Closes: #932832).

Joachim Falk gitlab at salsa.debian.org
Tue Jul 23 20:40:34 BST 2019



Joachim Falk pushed to branch master at Debian Remote Packaging Team / tigervnc


Commits:
59ecf433 by Joachim Falk at 2019-07-23T19:02:45Z
Fix crash on disconnect for TigerVNC 1.9 if internal http server used (Closes: #932832).

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/0176-tigervnc-1.9-fix-crash-on-disconnect.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,4 +1,4 @@
-tigervnc (1.9.0+dfsg-4~RC4) UNRELEASED; urgency=medium
+tigervnc (1.9.0+dfsg-4~RC5) UNRELEASED; urgency=medium
 
   [ Joachim Falk ]
   * Fix gnome shell integration of xtigervncviewer by updating
@@ -9,8 +9,10 @@ tigervnc (1.9.0+dfsg-4~RC4) UNRELEASED; urgency=medium
   * Bumped version number in Debian provided man pages to TigerVNC 1.9
     (Closes: #932264).
   * Fixed two typos in Debian provided tigervncserver man page.
+  * Fix crash on disconnect for TigerVNC 1.9 if internal http server used
+    (Closes: #932832).
 
- -- Joachim Falk <joachim.falk at gmx.de>  Thu, 18 Jul 2019 22:34:51 +0200
+ -- Joachim Falk <joachim.falk at gmx.de>  Tue, 23 Jul 2019 21:00:06 +0200
 
 tigervnc (1.9.0+dfsg-3) unstable; urgency=medium
 


=====================================
debian/patches/0176-tigervnc-1.9-fix-crash-on-disconnect.patch
=====================================
@@ -0,0 +1,20 @@
+Description: Fix crash on disconnect for TigerVNC 1.9
+Author: Joachim Falk <joachim.falk at gmx.de>
+
+See upstream bug #812 (https://github.com/TigerVNC/tigervnc/issues/812)
+and https://github.com/TigerVNC/tigervnc/commit/3fed95eda27dfbeee6535f987f5d14a66f64749b#diff-cad379b518c09467c09520f2f863c6d1R165
+for further discussion. Moreover, this should already be fixed in master.
+
+Index: pkg-tigervnc/unix/xserver/hw/vnc/XserverDesktop.cc
+===================================================================
+--- pkg-tigervnc.orig/unix/xserver/hw/vnc/XserverDesktop.cc
++++ pkg-tigervnc/unix/xserver/hw/vnc/XserverDesktop.cc
+@@ -148,7 +148,7 @@ XserverDesktop::~XserverDesktop()
+     listeners.pop_back();
+   }
+   while (!httpListeners.empty()) {
+-    vncRemoveNotifyFd(listeners.back()->getFd());
++    vncRemoveNotifyFd(httpListeners.back()->getFd());
+     delete httpListeners.back();
+     httpListeners.pop_back();
+   }


=====================================
debian/patches/series
=====================================
@@ -1,6 +1,7 @@
 0102-fix-spelling-error-in-manpages-to-shutup-lintian.patch
 0151-make-cmake-enable-options-mandatory-if-turned-on.patch
 0175-xtigervncviewer-WM_CLASS.patch
+0176-tigervnc-1.9-fix-crash-on-disconnect.patch
 # rework/0200-add-tcpwrappers-support.patch # This patch is still not ported
 
 # These patches are lifted from RedHat



View it on GitLab: https://salsa.debian.org/debian-remote-team/tigervnc/commit/59ecf433e977906c032f2b2a5b535c6105833e74

-- 
View it on GitLab: https://salsa.debian.org/debian-remote-team/tigervnc/commit/59ecf433e977906c032f2b2a5b535c6105833e74
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-tigervnc-devel/attachments/20190723/185d177b/attachment-0001.html>


More information about the Pkg-tigervnc-devel mailing list