diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2020-06-14 19:29:20 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-06-15 08:59:52 +0200 |
commit | 77f504382705d6e4a84fbfa4c790d6afdc2b741b (patch) | |
tree | 9eadfb069adbe169038e40164faf4c5a5efef77b /source/l/libvncserver/libvncserver.d0a76539835d11c0f4723499f8be4bc9c7724eb9.patch | |
parent | 0959f2bb54a685807217ea93b53db25a8ce9181e (diff) | |
download | current-77f504382705d6e4a84fbfa4c790d6afdc2b741b.tar.gz |
Sun Jun 14 19:29:20 UTC 202020200614192920
a/haveged-1.9.11-x86_64-1.txz: Upgraded.
l/libvncserver-0.9.13-x86_64-1.txz: Upgraded.
n/libnetfilter_queue-1.0.5-x86_64-1.txz: Upgraded.
x/vulkan-sdk-1.2.141.0-x86_64-1.txz: Upgraded.
xap/xlockmore-5.64-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/l/libvncserver/libvncserver.d0a76539835d11c0f4723499f8be4bc9c7724eb9.patch')
-rw-r--r-- | source/l/libvncserver/libvncserver.d0a76539835d11c0f4723499f8be4bc9c7724eb9.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/source/l/libvncserver/libvncserver.d0a76539835d11c0f4723499f8be4bc9c7724eb9.patch b/source/l/libvncserver/libvncserver.d0a76539835d11c0f4723499f8be4bc9c7724eb9.patch deleted file mode 100644 index 7ef6ec22..00000000 --- a/source/l/libvncserver/libvncserver.d0a76539835d11c0f4723499f8be4bc9c7724eb9.patch +++ /dev/null @@ -1,33 +0,0 @@ -From d0a76539835d11c0f4723499f8be4bc9c7724eb9 Mon Sep 17 00:00:00 2001 -From: Rajesh Sahoo <rajesh.sahoo@lge.com> -Date: Tue, 11 Jun 2019 15:13:04 +0530 -Subject: [PATCH] avoid pthread_join if backgroundLoop is FALSE - -client_thread is created depending upon backgroundLoop, but joining -without checking for same condition. so we are trying to join a garbage -thread_id. ---- - libvncserver/main.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/libvncserver/main.c b/libvncserver/main.c -index d3cd9b1e..772fb18f 100644 ---- a/libvncserver/main.c -+++ b/libvncserver/main.c -@@ -1112,6 +1112,7 @@ void rfbShutdownServer(rfbScreenInfoPtr screen,rfbBool disconnectClients) { - } - - #ifdef LIBVNCSERVER_HAVE_LIBPTHREAD -+ if(currentCl->screen->backgroundLoop) { - /* - Notify the thread. This simply writes a NULL byte to the notify pipe in order to get past the select() - in clientInput(), the loop in there will then break because the rfbCloseClient() above has set -@@ -1120,6 +1121,7 @@ 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); - #endif - |