Commit Graph

110 Commits (b0c77391e6bd0a2305bbc9b37a2499af74ddd9ee)

Author SHA1 Message Date
Petr Písař 28afb6c537 Limit client cut text length to 1 MB
7 years ago
Andreas Weigel a90a43cda5
remove Hixie-specific MD5 and check functions
8 years ago
Christian Beier 7368417239 Various #ifdef fixes to allow building with MSVC2014
8 years ago
Christian Beier 785f0fa2d1 Merge pull request #103 from rdieter/master
9 years ago
Rex Dieter 53cc1fa18a use namespaced rfbMax macro (issue #102)
9 years ago
Wen Shuguang dfa5e27579 Enable AF_UNIX socket: ignore setsockopt TCP_NODELAY failure.
9 years ago
Christian Beier b568db93b9 Merge pull request #56 from maxnet/master
10 years ago
Floris Bos a48035a1ce Only advertise xvp support when xvpHook is set
10 years ago
Christian Beier 5d3e41d257 Fix building with mingw-w64.
10 years ago
Nicolas Ruff c18fa98b1f Fix stack-based buffer overflow
10 years ago
newsoft 83bf1f5974 Fix multiple stack-based buffer overflows in file transfer feature
10 years ago
Daniel Cohen Gindi b288722ea6 A forgotten `#ifdef WIN32` broke UNIX build.
10 years ago
Daniel Cohen Gindi 1fc2951f22 On windows, use the Win32 calls for directory enumerations.
10 years ago
Daniel Cohen Gindi 901eba9f46 Generally adjusting headers for compiling on windows without the mixing of Winsock 1 and 2.
10 years ago
Daniel Cohen Gindi 8c58593649 Just use a macro to bridge to the Win32 version of `mkdir`
10 years ago
Daniel Cohen Gindi 026c48e7fc Fixed a violation of the C89 standard ("declarations must come before instructions")
10 years ago
Daniel Cohen Gindi fbf48c65f3 `strings.h` and `resolv.h` are not available on MSVC, and some POSIX functions are renamed or deprecated
10 years ago
Nicolas Ruff 05a9bd41a8 Do not accept a scaling factor of zero on PalmVNCSetScaleFactor and SetScale client->server messages. This would cause a division by zero and crash the server.
10 years ago
Nicolas Ruff 6037a9074d Check malloc() return value on client->server ClientCutText message. Client can send up to 2**32-1 bytes of text, and such a large allocation is likely to fail in case of high memory pressure. This would in a server crash (write at address 0).
10 years ago
Raphael Kubo da Costa a63312c6fb Include stdio.h for snprintf(3)
12 years ago
Raphael Kubo da Costa 4c148e5f74 Tune the definitions needed when building with -ansi.
12 years ago
Christian Beier fb824c8ce3 Some more libjpeg, libpng and zlib related build fixes.
13 years ago
Christian Beier d4cbaa0c17 Only try to build TightPNG stuff when libjpeg is available.
13 years ago
Christian Beier 81289eb624 Properly check return value.
13 years ago
Christian Beier 6f9a9160c4 Fix some compiler warnings thrown with newer gcc.
13 years ago
Christian Beier 413ca0dfef Merge branch 'turbovnc'
13 years ago
DRC 7124b5fbcf Replace TightVNC encoder with TurboVNC encoder. This patch is the result of further research and discussion that revealed the following:
13 years ago
DRC 503dd6bb69 Fix an issue that affects the existing Tight encoder as well as the newly-implemented Turbo encoder.
13 years ago
DRC 97001a7e7b Add TurboVNC encoding support.
13 years ago
Christian Beier 23413bf120 IPv6 support for LibVNCServer, part onepointfive: Fix compilation with IPv6 missing.
13 years ago
Christian Beier 83a7c713a9 IPv6 support for LibVNCServer, part one: accept IPv4 and IPv6 connections.
13 years ago
Kyle J. McKay 5c57575c35 Support Mac OS X vnc client with no password
13 years ago
Christian Beier 3df7537a30 Fix deadlock in threaded mode when using nested rfbClientIteratorNext() calls.
13 years ago
George Fleury fba4818ae8 Fix memory leak
13 years ago
Gernot Tenchio 55234a37fd websockets: Move Hixie disconnect hack to websockets.c
13 years ago
Gernot Tenchio 1408866c86 websockets: Initial HyBi support
13 years ago
Gernot Tenchio 4aa3586367 websockets: Add encryption support
13 years ago
Joel Martin 430b8f2449 websockets: Add UTF-8 encoding support.
13 years ago
Joel Martin 0860c4951f websockets: Better disconnect detection.
13 years ago
Joel Martin 6fac22a74b websockets: Initial WebSockets support.
13 years ago
Joel Martin 896ca2036c tightPng: Add initial tightPng encoding support.
14 years ago
George Kiagiadakis 35246edddd Fix compilation in c89 mode.
14 years ago
Christian Beier fe1ca16e9b Fix (most) MinGW32 compiler warnings.
14 years ago
Christian Beier cf72a0f7c3 Call WSAGetLastError() everywhere errno is read after a Winsock call.
14 years ago
Christian Beier 9f49600787 libvncserver: Make RRE, CoRRE and Ultra encodings thread-safe.
14 years ago
runge 658bef5fde Remove never used protocol version name string.
14 years ago
Christian Beier 453645a6ea libvncserver cleanup: remove rfbKeyFrame remnants.
14 years ago
Christian Beier e5523350a8 libvnc[server|client]: implement xvp VNC extension.
14 years ago
Tobias Doerffel 71ad3229f6 In rfbSendDirContent() we have to make sure to call closedir() before
14 years ago
Christian Beier c0373e9cd4 Non-blocking sockets for Windows.
14 years ago