You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libtdevnc/libvncserver
dscho 61cd498fb2 Fix a locking problem in libvncserver
There seems to be a locking problem in libvncserver, with respect to how
condition variables are used.

On certain machines in our lab, when using a vncviewer to view a display
that has a very high rate of updates, we will occasionally see the VNC
server process crash.  In one stack trace that was obtained, an assertion
had tripped in glibc's pthread_cond_wait, which was called from
clientOutput.

Inspection of clientOutput suggests that WAIT is being called incorrectly.
The mutex that protects a condition variable should always be locked when
calling wait, and on return from the wait will still be locked.  The
attached patch fixes the locking around this condition variable, and one
other that I found by grepping the source for similar occurrences.

Signed-off-by: Charles Coffing <ccoffing@novell.com>
18 years ago
..
tightvnc-filetransfer N_ENC_CAPS check does not work if libz is not present. 19 years ago
.cvsignore This monster commit contains support for TightVNC's file transfer protocol. 20 years ago
Makefile.am Client Independent Server Side Scaling is now supported 19 years ago
auth.c fix typo. 18 years ago
cargs.c Remove stray ""-permitfiletransfer permit file transfer support" output. 18 years ago
config.h move the library into libvncserver/, x11vnc into x11vnc/ 21 years ago
corre.c Plugged some memory leakage 19 years ago
cursor.c Corrected Cursor Statistics reporting as messages 19 years ago
cutpaste.c move the library into libvncserver/, x11vnc into x11vnc/ 21 years ago
d3des.c ANSIfy, fix some warnings from Linus' sparse 20 years ago
d3des.h global structures/functions should have "rfb", "sra" or "zrle" as prefix, 21 years ago
draw.c move the library into libvncserver/, x11vnc into x11vnc/ 21 years ago
font.c fix off by one bug 20 years ago
hextile.c The great UltraVNC Compatibility Commit 19 years ago
httpd.c SSL patch for Java viewer. https support for x11vnc. 19 years ago
lzoconf.h fix some build issues WRT ultravnc code. 19 years ago
main.c Fix a locking problem in libvncserver 18 years ago
minilzo.c fix some build issues WRT ultravnc code. 19 years ago
minilzo.h fix some build issues WRT ultravnc code. 19 years ago
private.h Plugged some memory leakage 19 years ago
rfbconfig.h move the library into libvncserver/, x11vnc into x11vnc/ 21 years ago
rfbregion.c ANSIfy, fix some warnings from Linus' sparse 20 years ago
rfbserver.c Fix a locking problem in libvncserver 18 years ago
rre.c Plugged some memory leakage 19 years ago
scale.c The great UltraVNC Compatibility Commit 19 years ago
scale.h Client Independent Server Side Scaling is now supported 19 years ago
selbox.c ANSIfy, fix some warnings from Linus' sparse 20 years ago
sockets.c The great UltraVNC Compatibility Commit 19 years ago
stats.c Statistics now fit into 80-column output 19 years ago
tableinit24.c move the library into libvncserver/, x11vnc into x11vnc/ 21 years ago
tableinitcmtemplate.c move the library into libvncserver/, x11vnc into x11vnc/ 21 years ago
tableinittctemplate.c move the library into libvncserver/, x11vnc into x11vnc/ 21 years ago
tabletrans24template.c move the library into libvncserver/, x11vnc into x11vnc/ 21 years ago
tabletranstemplate.c move the library into libvncserver/, x11vnc into x11vnc/ 21 years ago
tight.c The great UltraVNC Compatibility Commit 19 years ago
translate.c ANSIfy, fix some warnings from Linus' sparse 20 years ago
ultra.c Plugged some memory leakage 19 years ago
vncauth.c hide strict ansi stuff if not explicitely turned on; actually use the socklen_t test from configure.ac 20 years ago
zlib.c Plugged some memory leakage 19 years ago
zrle.c The great UltraVNC Compatibility Commit 19 years ago
zrleencodetemplate.c ANSIfy, fix some warnings from Linus' sparse 20 years ago
zrleoutstream.c ANSIfy, fix some warnings from Linus' sparse 20 years ago
zrleoutstream.h move the library into libvncserver/, x11vnc into x11vnc/ 21 years ago
zrlepalettehelper.c move the library into libvncserver/, x11vnc into x11vnc/ 21 years ago
zrlepalettehelper.h move the library into libvncserver/, x11vnc into x11vnc/ 21 years ago
zrletypes.h move the library into libvncserver/, x11vnc into x11vnc/ 21 years ago