summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #215 from BastiaanOlij/fix_nozlib_compile_errorChristian Beier2018-05-141-1/+1
|\ | | | | | | | | libvncclient: zrle.c: Move undef of REALBPP down rfbproto.c which includes this file expects an undefined REALBPP after the inclusion. Do this whether or not there is zlib available.
| * Moved undef of REALBPP downBastiaan Olij2018-01-271-1/+1
| |
* | CMake: require FFMPEG version >= 3.1.0Christian Beier2018-04-271-1/+1
| | | | | | | | re #231
* | AppVeyorCI: build with Visual Studio 2017 as wellChristian Beier2018-03-242-2/+35
| |
* | rfbserver: fix a typoChristian Beier2018-03-241-1/+1
| |
* | rfbserver: get rid of inttypes.h againChristian Beier2018-03-241-4/+1
| |
* | Merge branch 'clientcuttext' of https://github.com/ppisar/libvncserver into ↵Christian Beier2018-03-241-1/+19
|\ \ | | | | | | | | | ppisar-clientcuttext
| * | Limit client cut text length to 1 MBPetr Písař2018-03-081-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 warningChristian Beier2018-03-241-3/+3
| | |
* | | SDLvncviewer: enable the X11 clipboard if X11 was foundChristian Beier2018-03-242-2/+8
| | |
* | | androidvncserver: fix print_usage and a compiler warningChristian Beier2018-03-131-1/+1
| | |
* | | androidvncserver: add some boilerplate comment that should have been in the ↵Christian Beier2018-03-131-1/+6
| | | | | | | | | | | | 1st code drop
* | | androidvncserver: fix a quite serious typoChristian Beier2018-03-131-1/+1
|/ / | | | | | | Closes #225.
* | AppVeyorCI: set path to devenv tool based on environmentChristian Beier2018-02-271-4/+8
| |
* | androidvncserver: remove keycodes not in NDK anymoreChristian Beier2018-02-261-5/+1
|/ | | | This makes the android VNC server example build again.
* Merge pull request #203 from dcommander/turbovnc-clientChristian Beier2018-01-235-148/+119
|\ | | | | Include Tight decoding optimizations from TurboVNC
| * Include Tight decoding optimizations from TurboVNCDRC2018-01-225-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/masterChristian Beier2018-01-223-0/+360
|\ \ | |/ |/| Add trle decoder
| * Add trle decoderWiki Wang2017-09-153-0/+360
|/
* libvncclient: rename rfbsasl.[c|h] to sasl.[c|h] to be in line with naming ↵Christian Beier2017-09-025-8/+8
| | | | of other files
* Move HAVE_SASL #ifdefs into header file to have less LOCChristian Beier2017-09-024-8/+4
|
* Fix building whithout SASLChristian Beier2017-09-021-0/+2
|
* Merge branch 'sasl2' of git://github.com/simonwaterman/libvncserver into ↵Christian Beier2017-09-0215-15/+838
|\ | | | | | | simonwaterman-sasl2
| * Added SASL authentication supportsimon2017-06-2515-16/+839
| | | | | | | | Added SASL support to OpenSSL
* | Merge pull request #188 from Cordius/masterChristian Beier2017-07-071-1/+1
|\ \ | | | | | | fix: the function should not return a value
| * | fix: the function should not return a valueWu Zongyong2017-06-251-1/+1
|/ /
* | Merge pull request #161 from jlesage/master-base64-compatChristian Beier2017-06-206-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 Sage2017-06-136-34/+335
|/ / | | | | | | of base64 functions.
* | Merge pull request #158 from kempniu/gtk-vnc-0.7.0-compatChristian Beier2017-05-151-1/+4
|\ \ | | | | | | websockets: Ensure compatibility with gtk-vnc 0.7.0+
| * | Ensure compatibility with gtk-vnc 0.7.0+Michał Kępień2017-02-141-1/+4
| | |
* | | websockets: hide decode debug output per defaultChristian Beier2017-05-151-32/+41
| | |
* | | websockets: only build tests for a websockets-enabled buildChristian Beier2017-05-141-8/+12
| | |
* | | websockets: restore webSocketCheckDisconnect() to keep API compatibilityChristian Beier2017-05-142-0/+12
| | |
* | | remove potential 64 bit len overflow calculationAndreas Weigel2017-05-142-38/+31
| | |
* | | add decode support for continuation framesAndreas Weigel2017-05-146-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 buildAndreas Weigel2017-05-144-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 functionsAndreas Weigel2017-05-143-69/+0
| | |
* | | add generation wstest to cmakeAndreas Weigel2017-05-147-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 testsAndreas Weigel2017-05-146-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 supportAndreas Weigel2017-05-141-246/+51
| | |
* | | factor out hybi decode part to make it testableAndreas Weigel2017-05-143-580/+631
| | | | | | | | | | | | | | | remove direct dependency on rfbClientPtr structure in hybi decode function(s)
* | | fix overflow and refactor websockets decode (Hybi)Andreas Weigel2017-05-141-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/x509verifyChristian Beier2017-05-141-4/+100
|\ \ \ | | | | | | | | Added support for X509 server certificate verification
| * | | Removed comment left over from developmentsimon2017-04-251-3/+0
| | | |
| * | | Modified certificate verification for compatibility with GnuTLS 2.12.23simon2017-04-251-22/+102
| | | |
| * | | Added support for X509 server certificate verification as part of the ↵simon2017-04-201-3/+22
| | | | | | | | | | | | | | | | handshake process.
* | | | Merge pull request #176 from simonwaterman/x509verify-opensslChristian Beier2017-05-142-92/+165
|\ \ \ \ | | | | | | | | | | X509 certificate verification for OpenSSL
| * | | | X509 certificate verification for OpenSSLsimon2017-05-052-92/+165
| |/ / /
* | | | Merge pull request #178 from lioncash/leakChristian Beier2017-05-121-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()Lioncash2017-05-101-0/+1
|/ / / | | | | | | | | | The file handle wouldn't be closed in this instance.