summaryrefslogtreecommitdiffstats
path: root/libvncclient
Commit message (Collapse)AuthorAgeFilesLines
* Add sys/socket.h include in sasl.c to resolve FTBFS.r14.1.0Slávek Banko2023-03-211-0/+4
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Merge tag 'LibVNCServer-0.9.12'Slávek Banko2019-02-0619-466/+1728
|\ | | | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
| * LibVNCClient: remove now-useless castChristian Beier2019-01-061-1/+1
| | | | | | | | re #273
| * LibVNCClient: fail on server-sent desktop name lengths longer than 1MBChristian Beier2019-01-061-2/+6
| | | | | | | | re #273
| * Merge pull request #267 from veyon/external-lzoChristian Beier2018-12-291-0/+4
| |\ | | | | | | Allow to use global LZO library instead of miniLZO
| | * Allow to use global LZO library instead of miniLZOTobias Junghans2018-11-221-0/+4
| | | | | | | | | | | | | | | The complete LZO library nowadays is installed on many systems so we can optionally make use of it and omit internal miniLZO implementation.
| * | LibVNCClient: ignore server-sent reason strings longer than 1MBChristian Beier2018-12-291-24/+21
| | | | | | | | | | | | Fixes #273
| * | LibVNCClient: ignore server-sent cut text longer than 1MBChristian Beier2018-12-291-0/+5
| |/ | | | | | | | | This is in line with how LibVNCServer does it (28afb6c537dc82ba04d5f245b15ca7205c6dbb9c) and fixes part of #273.
| * Merge pull request #263 from veyon/custom-auth-handlersChristian Beier2018-11-181-0/+29
| |\ | | | | | | LibVNCClient: add support for custom auth handlers
| | * LibVNCClient: add support for custom auth handlersTobias Junghans2018-11-111-0/+29
| | | | | | | | | | | | | | | This allows to register custom authentication handlers in order to support additional security types.
| * | Merge pull request #261 from veyon/misc-fixesChristian Beier2018-11-077-4/+11
| |\ \ | | | | | | | | Misc fixes
| | * | LibVNCClient: pass buffer as const to WriteToTLS()Tobias Junghans2018-11-064-4/+4
| | | |
| | * | Undef error codes before redefining them for WSATobias Junghans2018-11-062-0/+6
| | | | | | | | | | | | | | | | Fixes compiler warnings about redefined macros from errno.h.
| | * | LibVNCClient: init pad field for set encodings msgTobias Junghans2018-11-061-0/+1
| | |/
| * | common: d3des: drop unused rfbCPKey()Tobias Junghans2018-11-071-1/+0
| |/
| * LibVNCClient: free buffers in rfbClientCleanup()Tobias Junghans2018-11-051-0/+6
| | | | | | | | Buffers allocated by encoding handlers have to be freed as well.
| * LibVNCClient: really fix #250Christian Beier2018-10-041-1/+1
| |
| * LibVNCClient: make sure Ultra decoding cannot dereference a null pointerChristian Beier2018-10-011-0/+4
| | | | | | | | Closes #254
| * LibVNCClient: fix three possible heap buffer overflowsChristian Beier2018-09-291-4/+6
| | | | | | | | | | | | | | An attacker could feed `0xffffffff`, causing a `malloc(0)` for the buffers which are subsequently written to. Closes #247
| * LibVNCClient: make sure ReadFromRFBServer() does not write after buffer end ↵Christian Beier2018-09-291-1/+1
| | | | | | | | | | | | in CoRRE decoding Closes #250
| * LibVNCClient: fix possible infinite loopChristian Beier2018-09-291-1/+1
| | | | | | | | Closes #251
| * LibVNCClient: don't leak uninitialised memory to remoteChristian Beier2018-09-291-0/+2
| | | | | | | | | | | | | | The pad fields of the rfbClientCutTextMsg and rfbKeyEventMsg could contain arbitray memory belonging to the process, don't leak this to the remote. Closes #252
| * When connecting to a repeater, only send initialised stringChristian Beier2018-09-291-2/+6
| | | | | | | | Closes #253
| * Remove the turbojpeg.h dependency from public headersChristian Beier2018-09-271-0/+2
| | | | | | | | Closes #230
| * 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
| | |
| * | libvncclient/sasl: prefix the header guard (again) to fix a warningChristian Beier2018-03-241-3/+3
| |/
| * Merge pull request #203 from dcommander/turbovnc-clientChristian Beier2018-01-233-147/+101
| |\ | | | | | | Include Tight decoding optimizations from TurboVNC
| | * Include Tight decoding optimizations from TurboVNCDRC2018-01-223-147/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
| * | Add trle decoderWiki Wang2017-09-152-0/+359
| |/
| * libvncclient: rename rfbsasl.[c|h] to sasl.[c|h] to be in line with naming ↵Christian Beier2017-09-024-7/+7
| | | | | | | | of other files
| * Move HAVE_SASL #ifdefs into header file to have less LOCChristian Beier2017-09-023-6/+4
| |
| * Merge branch 'sasl2' of git://github.com/simonwaterman/libvncserver into ↵Christian Beier2017-09-029-11/+748
| |\ | | | | | | | | | simonwaterman-sasl2
| | * Added SASL authentication supportsimon2017-06-259-12/+749
| | | | | | | | | | | | Added SASL support to OpenSSL
| * | 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.
| * | X509 certificate verification for OpenSSLsimon2017-05-051-92/+157
| |/
| * Set trueColour flag to 1 instead of 255dborth2017-04-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | It turns out some server implementations (namely VMware ESXi 6.5) expect 1 as the only non-zero value for the SetPixelFormat message whereas the protocol states every non-zero value is valid (https://github.com/rfbproto/rfbproto/blob/master/rfbproto.rst#setpixelformat). Anyway, setting this to 1 shouldn't hurt. Fixes #141
| * Fix building for Android and add build instructions to READMEChristian Beier2017-03-261-1/+1
| |
| * Fix a compiler warningChristian Beier2017-03-261-1/+1
| |
| * Merge branch 'circle' of https://github.com/ldmnyblzs/libvncserver into ↵Christian Beier2017-03-269-144/+145
| |\ | | | | | | | | | | | | | | | | | | ldmnyblzs-circle Conflicts: libvncclient/rfbproto.c
| | * Add function pointers for every type of rectangleBalazs Ludmany2016-06-299-120/+121
| | |
| * | drop autotoolsBert van Hall2017-02-131-29/+0
| | | | | | | | | | | | | | | | | | | | | | | | Since autotools officially is no longer supported (see various github issues), drop the related infrastructure to stop tempting people to use it for building. Signed-off-by: Bert van Hall <bert.vanhall@gmx.de>
| * | libvncclient/tls_openssl: support openssl 1.1.xBert van Hall2017-01-311-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | Treat openSSL data structures as opaque to achieve compatibility with openSSL 1.1.x. While at it, fix order of cleaning up in open_ssl_connection(). Signed-off-by: Bert van Hall <bert.vanhall@avionic-design.de>
| * | Fix LibVNCClient compilation with MSVC 2014Christian Beier2017-01-282-0/+6
| | |
* | | Removed _BSD_SOURCE, _SVID_SOURCE, _GNU_SOURCE, _XOPEN_SOURCE.Michele Calgaro2018-10-085-24/+0
| | | | | | | | | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* | | Merge tag 'LibVNCServer-0.9.11' of https://github.com/LibVNC/libvncserverSlávek Banko2017-10-149-700/+90
|\ \ \ | |/ / | | | | | | | | | | | | Conflicts: CMakeLists.txt libvncserver/main.c
| * | Fix building on OSX.Christian Beier2016-11-241-1/+1
| | |