Commit Graph

1505 Commits (7ccae55b59d11378b203015d8d2dd33314f22a28)
 

Author SHA1 Message Date
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
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
Christian Beier c688cdd8b3 Add a README.md and and Travis CI status badge. 9 years ago
Christian Beier 2e3b269d21 Add a minimalistic config for Travis CI. 9 years ago
Christian Beier 76b462e280 Merge pull request #109 from zbierak/master
Fix memory access error in camera.c example
9 years ago
Norrec ab694621f5 break statement out of case 9 years ago
zbierak 00105c3ac5 Fix memory access error in camera.c example 9 years ago
Cédric Georges 6fabf75f9c Append missing include directory for GNUTLS and OPENSSL in CMake project
Append support of gnutls > v 2.99.01 (gnutls_transport_set_global_errno have a different signature)
9 years ago
Cédric Georges e91132f6a9 re-up comment 9 years ago
Cédric Georges 445fb7d531 Append IPv6 option in CMake Project 9 years ago
Christian Beier 5b322f523f Merge pull request #99 from spaceone/master
Ignore null pointers in FillRectangle() and CopyRectangleFromRectangle()
9 years ago
Christian Beier 5d74ac366f Fix TightVNC file transfer configure option. 9 years ago
SpaceOne 488a47e3dd Ignore null pointers in FillRectangle() and CopyRectangleFromRectangle() 9 years ago
Christian Beier 9d4cb568b7 Be a bit clearer with the cursorshape documentation for libvncclient. 9 years ago
Christian Beier 4665af4950 Properly document HandleCursorShape and GotCursorShapeProc. 9 years ago
Christian Beier 228a75fe3a Merge pull request #90 from stweil/fix
Fix some recently introduced regressions
9 years ago
Christian Beier ab07659039 Merge pull request #89 from stweil/master
Fix some typos (found by codespell)
9 years ago
Stefan Weil 68d43fb62d Fix definition of POSIX data types
Commit 92f558482d added stdint.h to get
the type definitions, but included it after the first use of int8_t in
builds for Windows.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
9 years ago
Stefan Weil b71cc64e58 Fix endianness detection
Commit 97f442ef2a tried to improve the
endianness detection, but introduced a typo and problems for Windows
builds (no endian.h, different definition of LIBVNCSERVER_WORDS_BIGENDIAN).

Fix both issues.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
9 years ago
Stefan Weil 9c7efb7633 Fix some typos (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
9 years ago