summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
authorChristian Beier <[email protected]>2019-01-06 19:16:02 +0100
committerGitHub <[email protected]>2019-01-06 19:16:02 +0100
commitffa449ad01d803acdace6d178ef198d9abdcc16f (patch)
tree73a3e1433fbe1ae4f184d0a47949ccc844fcb300 /rfb
parentcd197f6daea0f750a76e8e9d5a5b78cfd24ebeb3 (diff)
parent00bae113d54014bafcf20c9f4c8c296e3e91bde5 (diff)
downloadlibtdevnc-ffa449ad01d803acdace6d178ef198d9abdcc16f.tar.gz
libtdevnc-ffa449ad01d803acdace6d178ef198d9abdcc16f.zip
Merge pull request #238 from tetrane/pr-fix-use-after-free
Fix use-after-free and concurrent access segmentation fault
Diffstat (limited to 'rfb')
-rw-r--r--rfb/rfb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index 3d6d31e..9c60f3d 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -465,6 +465,7 @@ typedef struct _rfbClientRec {
int protocolMinorVersion;
#ifdef LIBVNCSERVER_HAVE_LIBPTHREAD
+ int pipe_notify_client_thread[2];
pthread_t client_thread;
#endif