summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert "AppVeyorCI: update cyrus-sasl to 2.1.27, remove patch"Christian Beier2018-12-282-3/+30
| | | | This reverts commit bcd3eaeb83181ab5491aa6d641e2a7b8d424d88a.
* AppVeyorCI: update cyrus-sasl to 2.1.27, remove patchChristian Beier2018-12-282-30/+3
|
* .gitignore: remove autotools and x11vnc leftoversChristian Beier2018-12-281-31/+0
|
* .gitignore: fix for in-tree builds, add 'build' dirChristian Beier2018-12-281-2/+6
| | | | re #248
* Revert "Remove .gitignore obsoleted by CMake"Christian Beier2018-12-281-0/+87
| | | | This reverts commit d6c907ffbc36f4ad7663a44538b15e650a6ddf40.
* Merge pull request #269 from rgacogne/fix-misleading-indentationChristian Beier2018-11-295-19/+29
|\ | | | | Fix -Wmisleading-indentation warnings
| * Fix -Wmisleading-indentation warningsRemi Gacogne2018-11-285-19/+29
|/
* Merge pull request #259 from veyon/cursor-shiftChristian Beier2018-11-191-4/+4
|\ | | | | LibVNCClient: fix integer shifts for cursor colors
| * LibVNCClient: fix integer shifts for cursor colorsTobias Junghans2018-11-051-4/+4
| | | | | | | | | | | | Shifting values > 32768 by 16 places can cause undefined results for signed integers. Therefore cast color components to unsigned integer before shifting.
* | Merge pull request #266 from veyon/fix-tlsChristian Beier2018-11-192-6/+8
|\ \ | | | | | | LibVNCServer: properly use thread-local storage
| * | LibVNCServer: properly use thread-local storageTobias Junghans2018-11-192-6/+8
|/ / | | | | | | | | | | The TLS macro never has been defined due to the missing LIBVNCSERVER_HAVE_TLS macro. This revises the macro logic to also cover Win32 builds with MSVC.
* | Merge pull request #263 from veyon/custom-auth-handlersChristian Beier2018-11-183-1/+35
|\ \ | | | | | | LibVNCClient: add support for custom auth handlers
| * | LibVNCClient: add support for custom auth handlersTobias Junghans2018-11-113-1/+35
| | | | | | | | | | | | | | | This allows to register custom authentication handlers in order to support additional security types.
* | | Add SSL options to rfbUsage outputChristian Beier2018-11-111-0/+4
| | |
* | | Merge branch 'fix-#242'Christian Beier2018-11-105-18/+25
|\ \ \
| * | | tightvnc-filetransfer: do not close stuff from within a threadChristian Beier2018-11-101-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | ... as this crashes badly and the client is closed by the main thread machinery afterwards. re #242
| * | | tightvnc-filetransfer: when creating a new download thread, make sure the ↵Christian Beier2018-10-221-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | previous one ends re #242
| * | | tightvnc-filetransfer: wait for download thread end in CloseUndoneFileDownload()Christian Beier2018-10-212-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | ...and use it when deregistering the file transfer extension. Closes #242
| * | | tightvnc-filetransfer: refactor CloseUndoneFileTransfer() into two functionsChristian Beier2018-10-213-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | ...for closing upload and download separately. re #242
| * | | tightvnc-filetransfer: tie the download thread to the control structureChristian Beier2018-10-212-2/+2
| | |/ | |/| | | | | | | re #242
* | | README: rename to README.mdChristian Beier2018-11-092-477/+476
| | | | | | | | | | | | | | | We had the original name lingering on for the Autotools packaging process, but that is gone since.
* | | Merge pull request #261 from veyon/misc-fixesChristian Beier2018-11-0710-4/+25
|\ \ \ | | | | | | | | Misc fixes
| * | | LibVNCClient: pass buffer as const to WriteToTLS()Tobias Junghans2018-11-064-4/+4
| | | |
| * | | rfb: add header guard for default8x16Tobias Junghans2018-11-061-0/+5
| | | |
| * | | Undef error codes before redefining them for WSATobias Junghans2018-11-063-0/+12
| | | | | | | | | | | | | | | | Fixes compiler warnings about redefined macros from errno.h.
| * | | LibVNCClient: init pad field for set encodings msgTobias Junghans2018-11-061-0/+1
| | | |
| * | | README: add Veyon to projects using libvncserverTobias Junghans2018-11-061-0/+3
| | |/ | |/|
* | | Merge pull request #264 from veyon/d3des-fixesChristian Beier2018-11-073-29/+22
|\ \ \ | |/ / |/| | Make D3DES thread safe + minor fixes
| * | common: d3des: use per-thread key registerTobias Junghans2018-11-071-1/+9
| | | | | | | | | | | | | | | When encrypting/decrypting from different threads this can race due to the global key register.
| * | common: d3des: drop unused rfbCPKey()Tobias Junghans2018-11-073-15/+0
| | |
| * | common: d3des: make static arrays constTobias Junghans2018-11-071-13/+13
|/ /
* | README. add a reference to client examplesChristian Beier2018-11-051-0/+3
| | | | | | Closes #224
* | README: add VirtualBox to projects using usChristian Beier2018-11-051-0/+2
| |
* | README: fix header structure, add some markups for commandsChristian Beier2018-11-051-12/+12
| |
* | Merge pull request #260 from veyon/free-client-buffersChristian Beier2018-11-051-0/+6
|\ \ | |/ |/| LibVNCClient: free buffers in rfbClientCleanup()
| * LibVNCClient: free buffers in rfbClientCleanup()Tobias Junghans2018-11-051-0/+6
|/ | | | Buffers allocated by encoding handlers have to be freed as well.
* tightvnc-filetransfer: fix heap use-after-freeChristian Beier2018-10-211-0/+2
| | | | | | | | | | One can only guess what the intended semantics were here, but as every other rfbCloseClient() call in this file is followed by an immediate return, let's assume this was forgotton in this case. Anyway, don't forget to clean up to not leak memory. Closes #241
* LibVNCServer: fix heap out-of-bound write accessChristian Beier2018-10-211-1/+1
| | | | Closes #243
* LibVNCClient: really fix #250Christian Beier2018-10-041-1/+1
|
* websockets: remove Flash fallbackChristian Beier2018-10-012-13/+1
| | | | Closes #162
* Update bundled noVNC to latest release 1.0.0Christian Beier2018-10-01154-9071/+78834
| | | | Closes #148
* httpd: send proper MIME type for Javascript filesChristian Beier2018-10-011-0/+2
| | | | re #148
* LibVNCClient: make sure Ultra decoding cannot dereference a null pointerChristian Beier2018-10-011-0/+4
| | | | Closes #254
* CMake: require some form of hton64() for websocketsChristian Beier2018-09-301-2/+6
| | | | Closes #127
* Fix compilaton with gcc 4.4.xDRC2018-09-301-2/+2
| | | | | | Closes #204 Signed-off-by: Christian Beier <dontmind@freeshell.org>
* 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-292-4/+14
| | | | Closes #253