mirror of
git://slackware.nl/current.git
synced 2024-12-31 10:28:29 +01:00
8d94e33d1a
a/btrfs-progs-5.4.1-x86_64-1.txz: Upgraded. l/libvncserver-0.9.12-x86_64-2.txz: Rebuilt. Merged upstream bugfix pull requests. Thanks to alienBOB. n/NetworkManager-1.22.4-x86_64-1.txz: Upgraded. xap/mozilla-thunderbird-68.4.1-x86_64-1.txz: Upgraded. This release contains security fixes and improvements. For more information, see: https://www.mozilla.org/en-US/thunderbird/68.4.1/releasenotes/ https://www.mozilla.org/security/known-vulnerabilities/thunderbird.html https://www.mozilla.org/en-US/security/advisories/mfsa2020-04/ https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-17026 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-17015 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-17016 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-17017 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-17021 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-17022 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-17024 (* Security fix *)
25 lines
909 B
Diff
25 lines
909 B
Diff
From 15c4f144a3783d9f1f2c976acf9f4d85988fd466 Mon Sep 17 00:00:00 2001
|
|
From: Albert Astals Cid <aacid@kde.org>
|
|
Date: Sun, 5 Jan 2020 19:56:57 +0100
|
|
Subject: [PATCH] rfbShutdownServer: Call rfbClientConnectionGone if no
|
|
backgroundLoop
|
|
|
|
Otherwise the servers that don't use rfbRunEventLoop don't get
|
|
notified of client disconnections
|
|
---
|
|
libvncserver/main.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/libvncserver/main.c b/libvncserver/main.c
|
|
index b51f0ab6..738a501d 100644
|
|
--- a/libvncserver/main.c
|
|
+++ b/libvncserver/main.c
|
|
@@ -1152,6 +1152,8 @@ void rfbShutdownServer(rfbScreenInfoPtr screen,rfbBool disconnectClients) {
|
|
write(currentCl->pipe_notify_client_thread[1], "\x00", 1);
|
|
/* And wait for it to finish. */
|
|
pthread_join(currentCl->client_thread, NULL);
|
|
+ } else {
|
|
+ rfbClientConnectionGone(currentCl);
|
|
}
|
|
#else
|
|
rfbClientConnectionGone(currentCl);
|