Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rfbserver: fix a typo | Christian Beier | 2018-03-24 | 1 | -1/+1 |
| | |||||
* | rfbserver: get rid of inttypes.h again | Christian Beier | 2018-03-24 | 1 | -4/+1 |
| | |||||
* | Merge branch 'clientcuttext' of https://github.com/ppisar/libvncserver into ↵ | Christian Beier | 2018-03-24 | 1 | -1/+19 |
|\ | | | | | | | ppisar-clientcuttext | ||||
| * | Limit client cut text length to 1 MB | Petr Písař | 2018-03-08 | 1 | -1/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch constrains a client cut text length to 1 MB. Otherwise a client could make server allocate 2 GB of memory and that seems to be to much to classify it as a denial of service. The limit also prevents from an integer overflow followed by copying an uninitilized memory when processing msg.cct.length value larger than SIZE_MAX or INT_MAX - sz_rfbClientCutTextMsg. This patch also corrects accepting length value of zero (malloc(0) is interpreted on differnet systems differently). CVE-2018-7225 <https://github.com/LibVNC/libvncserver/issues/218> | ||||
* | | libvncclient/sasl: prefix the header guard (again) to fix a warning | Christian Beier | 2018-03-24 | 1 | -3/+3 |
| | | |||||
* | | SDLvncviewer: enable the X11 clipboard if X11 was found | Christian Beier | 2018-03-24 | 2 | -2/+8 |
| | | |||||
* | | androidvncserver: fix print_usage and a compiler warning | Christian Beier | 2018-03-13 | 1 | -1/+1 |
| | | |||||
* | | androidvncserver: add some boilerplate comment that should have been in the ↵ | Christian Beier | 2018-03-13 | 1 | -1/+6 |
| | | | | | | | | 1st code drop | ||||
* | | androidvncserver: fix a quite serious typo | Christian Beier | 2018-03-13 | 1 | -1/+1 |
|/ | | | | Closes #225. | ||||
* | AppVeyorCI: set path to devenv tool based on environment | Christian Beier | 2018-02-27 | 1 | -4/+8 |
| | |||||
* | androidvncserver: remove keycodes not in NDK anymore | Christian Beier | 2018-02-26 | 1 | -5/+1 |
| | | | | This makes the android VNC server example build again. | ||||
* | Merge pull request #203 from dcommander/turbovnc-client | Christian Beier | 2018-01-23 | 5 | -148/+119 |
|\ | | | | | Include Tight decoding optimizations from TurboVNC | ||||
| * | Include Tight decoding optimizations from TurboVNC | DRC | 2018-01-22 | 5 | -148/+119 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - As with the encoder, the decoder now uses the TurboJPEG wrapper, which allows it to decode JPEG images directly into the framebuffer. This eliminates a buffer copy (CopyRectangle()) as well as the expensive RGB pixel conversion in DecompressJpegRectBPP(). The TurboJPEG wrapper performs RGB pixel conversion more optimally, and only when necessary (it uses the libjpeg-turbo colorspace extensions when available, in order to avoid RGB conversion.) - The other Tight subencoding types are also now decoded directly into the framebuffer, which eliminates buffer copies. - The Tight decoder now supports the rfbTightNoZlib extension, which allows the server to bypass zlib compression when Compression Level 0 is selected. The encoder already supports this extension. Passing the data stream through zlib when Compression Level 0 is selected needlessly wastes CPU time, since all zlib is doing is copying the data internally into its own structures. | ||||
* | | Merge pull request #197 from wwqwwqwd/master | Christian Beier | 2018-01-22 | 3 | -0/+360 |
|\ \ | |/ |/| | Add trle decoder | ||||
| * | Add trle decoder | Wiki Wang | 2017-09-15 | 3 | -0/+360 |
|/ | |||||
* | libvncclient: rename rfbsasl.[c|h] to sasl.[c|h] to be in line with naming ↵ | Christian Beier | 2017-09-02 | 5 | -8/+8 |
| | | | | of other files | ||||
* | Move HAVE_SASL #ifdefs into header file to have less LOC | Christian Beier | 2017-09-02 | 4 | -8/+4 |
| | |||||
* | Fix building whithout SASL | Christian Beier | 2017-09-02 | 1 | -0/+2 |
| | |||||
* | Merge branch 'sasl2' of git://github.com/simonwaterman/libvncserver into ↵ | Christian Beier | 2017-09-02 | 15 | -15/+838 |
|\ | | | | | | | simonwaterman-sasl2 | ||||
| * | Added SASL authentication support | simon | 2017-06-25 | 15 | -16/+839 |
| | | | | | | | | Added SASL support to OpenSSL | ||||
* | | Merge pull request #188 from Cordius/master | Christian Beier | 2017-07-07 | 1 | -1/+1 |
|\ \ | | | | | | | fix: the function should not return a value | ||||
| * | | fix: the function should not return a value | Wu Zongyong | 2017-06-25 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #161 from jlesage/master-base64-compat | Christian Beier | 2017-06-20 | 6 | -34/+335 |
|\ \ | | | | | | | websockets: Fixed compilation of websockets on systems where there is no implementation of base64 functions. | ||||
| * | | Fixed compilation of websockets on system where there is no implementation ↵ | Jocelyn Le Sage | 2017-06-13 | 6 | -34/+335 |
|/ / | | | | | | | of base64 functions. | ||||
* | | Merge pull request #158 from kempniu/gtk-vnc-0.7.0-compat | Christian Beier | 2017-05-15 | 1 | -1/+4 |
|\ \ | | | | | | | websockets: Ensure compatibility with gtk-vnc 0.7.0+ | ||||
| * | | Ensure compatibility with gtk-vnc 0.7.0+ | Michał Kępień | 2017-02-14 | 1 | -1/+4 |
| | | | |||||
* | | | websockets: hide decode debug output per default | Christian Beier | 2017-05-15 | 1 | -32/+41 |
| | | | |||||
* | | | websockets: only build tests for a websockets-enabled build | Christian Beier | 2017-05-14 | 1 | -8/+12 |
| | | | |||||
* | | | websockets: restore webSocketCheckDisconnect() to keep API compatibility | Christian Beier | 2017-05-14 | 2 | -0/+12 |
| | | | |||||
* | | | remove potential 64 bit len overflow calculation | Andreas Weigel | 2017-05-14 | 2 | -38/+31 |
| | | | |||||
* | | | add decode support for continuation frames | Andreas Weigel | 2017-05-14 | 6 | -74/+196 |
| | | | | | | | | | | | | | | | | | | use FIN bit and implement opcode 0x00 make consistent use of uint64_t for big frame sizes | ||||
* | | | fix problems in test and requests for cmake build | Andreas Weigel | 2017-05-14 | 4 | -41/+30 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | add missing stdarg header fix hardcoded errno integer values in tests add dependency to wstestdata and rename to prevent building it as c source | ||||
* | | | remove Hixie-specific MD5 and check functions | Andreas Weigel | 2017-05-14 | 3 | -69/+0 |
| | | | |||||
* | | | add generation wstest to cmake | Andreas Weigel | 2017-05-14 | 7 | -64/+207 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | add wstestdata.c, because the python data generation script has too many dependencies remove some redundance from jpeg test creation add support for decoding close messages | ||||
* | | | add ws_decode tests | Andreas Weigel | 2017-05-14 | 6 | -41/+360 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | modify automake to include ws_decode test add python frame generator for decode tests modify configure to only include ws_decode test if preconditions are fulfilled | ||||
* | | | remove obsolete hixie protocol support | Andreas Weigel | 2017-05-14 | 1 | -246/+51 |
| | | | |||||
* | | | factor out hybi decode part to make it testable | Andreas Weigel | 2017-05-14 | 3 | -580/+631 |
| | | | | | | | | | | | | | | | remove direct dependency on rfbClientPtr structure in hybi decode function(s) | ||||
* | | | fix overflow and refactor websockets decode (Hybi) | Andreas Weigel | 2017-05-14 | 1 | -132/+463 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix critical heap-based buffer overflow which allowed easy modification of a return address via an overwritten function pointer fix bug causing connections to fail due a "one websocket frame = one ws_read" assumption, which failed with LibVNCServer-0.9.11 refactor websocket Hybi decode to use a simple state machine for decoding of websocket frames | ||||
* | | | Merge pull request #175 from simonwaterman/x509verify | Christian Beier | 2017-05-14 | 1 | -4/+100 |
|\ \ \ | | | | | | | | | Added support for X509 server certificate verification | ||||
| * | | | Removed comment left over from development | simon | 2017-04-25 | 1 | -3/+0 |
| | | | | |||||
| * | | | Modified certificate verification for compatibility with GnuTLS 2.12.23 | simon | 2017-04-25 | 1 | -22/+102 |
| | | | | |||||
| * | | | Added support for X509 server certificate verification as part of the ↵ | simon | 2017-04-20 | 1 | -3/+22 |
| | | | | | | | | | | | | | | | | handshake process. | ||||
* | | | | Merge pull request #176 from simonwaterman/x509verify-openssl | Christian Beier | 2017-05-14 | 2 | -92/+165 |
|\ \ \ \ | | | | | | | | | | | X509 certificate verification for OpenSSL | ||||
| * | | | | X509 certificate verification for OpenSSL | simon | 2017-05-05 | 2 | -92/+165 |
| |/ / / | |||||
* | | | | Merge pull request #178 from lioncash/leak | Christian Beier | 2017-05-12 | 1 | -0/+1 |
|\ \ \ \ | |_|_|/ |/| | | | font: Fix a small resource leak in a failure case in rfbLoadConsoleFont() | ||||
| * | | | font: Fix a small resource leak in a failure case in rfbLoadConsoleFont() | Lioncash | 2017-05-10 | 1 | -0/+1 |
|/ / / | | | | | | | | | | The file handle wouldn't be closed in this instance. | ||||
* | | | CMake: add all function checks that used to be in configure.ac | Christian Beier | 2017-04-21 | 2 | -1/+56 |
| | | | | | | | | | | | | Fixes #174 | ||||
* | | | CMake: properly name rfbconfig.h cmake template | Christian Beier | 2017-04-21 | 2 | -1/+1 |
| | | | |||||
* | | | TravisCI: point OSX CMake to OpenSSL root dir | Christian Beier | 2017-04-21 | 1 | -2/+1 |
| | | | |||||
* | | | Merge branch 'tmcqueengit push origin master-materials-patch-1' | Christian Beier | 2017-04-21 | 3 | -326/+599 |
|\ \ \ | |/ / |/| | |