Commit Graph

1677 Commits (6239c521911f3a596bc02c109a9857bc9ea9b3f6)
 

Author SHA1 Message Date
Christian Beier 78b101f09d
LibVNCServer: fix starting of an onHold-client in threaded mode.
Discovered by madscientist159 on 11 Jan 2015:

"noted in testing with the threaded server build, whereby
if newClientHook() returned RFB_CLIENT_ON_HOLD there was no
way to release the hold when the server became ready"
8 years ago
Christian Beier 227e1d76ab Merge pull request #145 from bkylerussell/websockets
Sec-WebSocket-Protocol header fix
8 years ago
Kyle Russell aed23ae5c3 websockets: Don't supply Sec-WebSocket-Protocol if not in request 8 years ago
Christian Beier 7488684396 Merge pull request #142 from samhed/master
Write the correct length for end of header
8 years ago
Samuel Mannehed 21f8a8d33d Write the correct length for end of header
Fix for commit 65106d3962
8 years ago
Christian Beier 4c6bdcb460 Merge pull request #140 from vapier/master
test/Makefile: use check_PROGRAMS
8 years ago
Mike Frysinger 0c68f37c43 test/Makefile: use check_PROGRAMS
The new jpeg tests were added to noinst when they should have been
under check like all the other programs in here.
8 years ago
Timothy Pearson e8f6ddeddf
Update README to reflect change from defaultPtrAddEvent to rfbDefaultPtrAddEvent 8 years ago
Christian Beier 65106d3962
httpd: rework mime type handling to recognise more types 8 years ago
Christian Beier ce848322ec
TravisCI: Another stab at fixing OSX build.
See https://github.com/Tarsnap/spiped/pull/92
8 years ago
Christian Beier c1478fed64
Revert "Hopefully fix building on OSX."
This reverts commit 584b23fdbe.
8 years ago
Christian Beier 584b23fdbe
Hopefully fix building on OSX. 8 years ago
Christian Beier bbdd4ba7d8
TravisCI: check on OSX as well, test both gcc and clang. 8 years ago
Christian Beier 78f26fe1ff
Fix building on OSX. 8 years ago
Christian Beier bfee346155 Merge pull request #137 from atalax/master
Fix two heap buffer overflows
8 years ago
Christian Beier 01698f5c5b Merge pull request #128 from zmedico/autoprobe-selective
Support autoPort with ipv4 or ipv6 disabled
8 years ago
Christian Beier 93ea516fd1 Merge pull request #138 from stweil/master
Fix some typos
8 years ago
Stefan Weil 63bc75f24b Fix some typos (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
8 years ago
Stefan Weil 532789f494 Fix some typos (it's / its)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
8 years ago
Josef Gajdusek 5fff4353f6 Fix heap overflow in the ultra.c decoder
The Ultra type tile decoder does not use the _safe variant of the LZO
decompress function, which allows a maliciuous server to overwrite parts of the
heap by sending a larger-than-specified LZO data stream.
8 years ago
Josef Gajdusek 5418e8007c Fix heap overflows in the various rectangle fill functions
Altough rfbproto.c does check whether the overall FramebufferUpdate rectangle is
too large, some of the individual encoding decoders do not, which allows a
malicious server to overwrite parts of the heap.
8 years ago
Christian Beier 3df54ce7ce Merge pull request #129 from bkylerussell/systemd
Support systemd socket activation
9 years ago
Kyle Russell 21fd4d27bb Support systemd socket activation 9 years ago
Zac Medico cdd81bd479 Support autoPort with ipv4 or ipv6 disabled
Make it possible to get autoPort behavior with either ipv4 or ipv6
disabled, by setting rfbScreen->ipv6port or rfbScreen->port to a
negative number. This will make it possible for x11vnc to enforce
its -noipv6 option, as discussed in the following bug report:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672449
9 years ago
Timothy Pearson 27bc3dba70 Fix invalid headers in PNG files and optimize for size 9 years ago
Balazs Ludmany a01a18df1d Add function pointers for every type of rectangle 9 years ago
Christian Beier 1f8c443cbc
Update NEWS. 9 years ago
Christian Beier c4721ae493 Fix rfbClientSwap64IfLE broken in fe7df89fb1 9 years ago
Christian Beier 6f4f31fe93 Merge pull request #84 from plettix/master
fix for issue 81
9 years ago
Christian Beier 962e1082e8 Update bundled noVNC to latest release 0.5.1
Fixes https://github.com/LibVNC/libvncserver/issues/54
9 years ago
Christian Beier 15dd6470c5 CMake: Add maybe-found OpenSSL libs to libvncclient. 9 years ago
Christian Beier cb66df0779 CMake: Not all platforms have endian.h, so use the build system's endianess check. 9 years ago
Christian Beier cada820645 Only include endian.h if present on system. 9 years ago
Christian Beier ddabcb67a6 Merge pull request #105 from cgeorges82/master
fix for issue #97. Also, this fixes cmake builds for other platforms.
9 years ago
Christian Beier 475a2c9447 Merge pull request #121 from gfleury/patch-1
Avoid calling SSL_pending when connection is already closed
9 years ago
George Fleury 1417cb1c3f Avoid calling SSL_pending when connection is already closed
Avoid calling SSL_pending when connection is already closed, calling SSL_pending with connection already closed is crashing. 
To reproduce, open a secure websocket binay protocol connection with libvncserver compiled with OpenSSL, and when libvncserver is waiting for rfbProcessClientProtocolVersion send any invalid char, it will fail and call rfbCloseClient whith destroy all SSL context, calling SSL_pending after that will generate a invalid access.
9 years ago
Christian Beier 785f0fa2d1 Merge pull request #103 from rdieter/master
use namespaced vnc_max macro (issue #102)
9 years ago
Christian Beier fc3dfdd9c5 Merge pull request #118 from gbdj/threadsafe-100-squash
libvncclient/tls_gnutls.c: Add hooks to WriteToTLS() for optional protection by mutex. (Squashed)
9 years ago
gbdj 1da7872784 libvncclient/tls_gnutls.c: Add hooks to WriteToTLS() for optional protection by mutex. Fix upstream issue #100
Squashed commit of the pull request #101 :
commit 1c7e01e81862bc46508e675e83c74cc6d63224b0
commit 1e749b094d6696380d3f0540a00138d7e3427874
9 years ago
Rex Dieter 53cc1fa18a use namespaced rfbMax macro (issue #102)
Not using generic 'max', avoids conflicts with stl_algobase.h
9 years ago
Christian Beier 2893c2b057 Merge pull request #115 from solofox/master
Enable AF_UNIX socket: ignore setsockopt TCP_NODELAY failure.
9 years ago
Wen Shuguang dfa5e27579 Enable AF_UNIX socket: ignore setsockopt TCP_NODELAY failure. 9 years ago
Christian Beier 27d0024832 Merge pull request #114 from zbierak/master
Increase MAX_ENCODINGS value to accommodate more client encodings
9 years ago
zbierak b6cb19982f Increase MAX_ENCODINGS value to accommodate more client encodings
Resolves #112
9 years ago
Christian Beier d28d20f56d Merge pull request #110 from AlexejStukov/patch-1
break statement out of case
9 years ago
Christian Beier 96a5111cba Merge pull request #111 from zbierak/master
Fix buffer overflow when applying client encodings
9 years ago
zbierak 9b82dee3a4 Fix buffer overflow when applying client encodings 9 years ago
Christian Beier 5ceccb0dfa TravisCI: remove old config. 9 years ago
Christian Beier 13e9810c88 TravisCI: add autoreconf step. 9 years ago
Christian Beier de3b01c373 TravisCI: the config starts with a dot! 9 years ago