Christian Beier
c5ba3fee85
LibVNCClient: ignore server-sent cut text longer than 1MB
...
This is in line with how LibVNCServer does it
(28afb6c537
) and fixes part of #273 .
6 years ago
Christian Beier
5d84ade492
Revert "AppVeyorCI: update cyrus-sasl to 2.1.27, remove patch"
...
This reverts commit bcd3eaeb83
.
6 years ago
Christian Beier
bcd3eaeb83
AppVeyorCI: update cyrus-sasl to 2.1.27, remove patch
6 years ago
Christian Beier
c240011951
.gitignore: remove autotools and x11vnc leftovers
6 years ago
Christian Beier
fef917ed04
.gitignore: fix for in-tree builds, add 'build' dir
...
re #248
6 years ago
Christian Beier
484e5088f4
Revert "Remove .gitignore obsoleted by CMake"
...
This reverts commit d6c907ffbc
.
6 years ago
Christian Beier
19b695e9f8
Merge pull request #269 from rgacogne/fix-misleading-indentation
...
Fix -Wmisleading-indentation warnings
6 years ago
Remi Gacogne
716bd27235
Fix -Wmisleading-indentation warnings
6 years ago
Christian Beier
1452b9a6ae
Merge pull request #259 from veyon/cursor-shift
...
LibVNCClient: fix integer shifts for cursor colors
6 years ago
Christian Beier
2c61a095c6
Merge pull request #266 from veyon/fix-tls
...
LibVNCServer: properly use thread-local storage
6 years ago
Tobias Junghans
2411769962
LibVNCServer: properly use thread-local storage
...
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.
6 years ago
Christian Beier
cfdbb94038
Merge pull request #263 from veyon/custom-auth-handlers
...
LibVNCClient: add support for custom auth handlers
6 years ago
Tobias Junghans
5f9a07d7e1
LibVNCClient: add support for custom auth handlers
...
This allows to register custom authentication handlers in order to
support additional security types.
6 years ago
Christian Beier
aa8a1aa768
Add SSL options to rfbUsage output
6 years ago
Christian Beier
162d716b4c
Merge branch 'fix-#242'
6 years ago
Christian Beier
495ffa3f3a
tightvnc-filetransfer: do not close stuff from within a thread
...
... as this crashes badly and the client is closed by the main thread machinery afterwards.
re #242
6 years ago
Christian Beier
af2448218c
README: rename to README.md
...
We had the original name lingering on for the Autotools packaging process,
but that is gone since.
6 years ago
Christian Beier
f997b5a75f
Merge pull request #261 from veyon/misc-fixes
...
Misc fixes
6 years ago
Christian Beier
393e518846
Merge pull request #264 from veyon/d3des-fixes
...
Make D3DES thread safe + minor fixes
6 years ago
Tobias Junghans
1a381cb760
common: d3des: use per-thread key register
...
When encrypting/decrypting from different threads this can race due to
the global key register.
6 years ago
Tobias Junghans
a70d3b2710
common: d3des: drop unused rfbCPKey()
6 years ago
Tobias Junghans
f0aab31786
common: d3des: make static arrays const
6 years ago
Tobias Junghans
9f5116eb53
LibVNCClient: pass buffer as const to WriteToTLS()
6 years ago
Tobias Junghans
66ead2a7f2
rfb: add header guard for default8x16
6 years ago
Tobias Junghans
09b2ed4381
Undef error codes before redefining them for WSA
...
Fixes compiler warnings about redefined macros from errno.h.
6 years ago
Tobias Junghans
343eaabd7c
LibVNCClient: init pad field for set encodings msg
6 years ago
Tobias Junghans
192823dad9
README: add Veyon to projects using libvncserver
6 years ago
Christian Beier
56d69d831f
README. add a reference to client examples
...
Closes #224
6 years ago
Christian Beier
0f2b27f220
README: add VirtualBox to projects using us
6 years ago
Christian Beier
dbad25245f
README: fix header structure, add some markups for commands
6 years ago
Christian Beier
1a4ae5fe7a
Merge pull request #260 from veyon/free-client-buffers
...
LibVNCClient: free buffers in rfbClientCleanup()
6 years ago
Tobias Junghans
597473be04
LibVNCClient: free buffers in rfbClientCleanup()
...
Buffers allocated by encoding handlers have to be freed as well.
6 years ago
Tobias Junghans
c422847e2c
LibVNCClient: fix integer shifts for cursor colors
...
Shifting values > 32768 by 16 places can cause undefined results for
signed integers. Therefore cast color components to unsigned integer
before shifting.
6 years ago
Christian Beier
2d939267a1
tightvnc-filetransfer: when creating a new download thread, make sure the previous one ends
...
re #242
6 years ago
Christian Beier
73cb96fec0
tightvnc-filetransfer: wait for download thread end in CloseUndoneFileDownload()
...
...and use it when deregistering the file transfer extension.
Closes #242
6 years ago
Christian Beier
f8912fee5a
tightvnc-filetransfer: refactor CloseUndoneFileTransfer() into two functions
...
...for closing upload and download separately.
re #242
6 years ago
Christian Beier
89419fb1a0
tightvnc-filetransfer: tie the download thread to the control structure
...
re #242
6 years ago
Christian Beier
ca2a5ac02f
tightvnc-filetransfer: fix heap use-after-free
...
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
6 years ago
Christian Beier
502821828e
LibVNCServer: fix heap out-of-bound write access
...
Closes #243
6 years ago
Christian Beier
7b1ef0ffc4
LibVNCClient: really fix #250
6 years ago
Christian Beier
459046efc0
websockets: remove Flash fallback
...
Closes #162
6 years ago
Christian Beier
ffe3357491
Update bundled noVNC to latest release 1.0.0
...
Closes #148
6 years ago
Christian Beier
de3a2f46b5
httpd: send proper MIME type for Javascript files
...
re #148
6 years ago
Christian Beier
4a21bbd097
LibVNCClient: make sure Ultra decoding cannot dereference a null pointer
...
Closes #254
6 years ago
Christian Beier
6566ba5f02
CMake: require some form of hton64() for websockets
...
Closes #127
6 years ago
DRC
7063f607e4
Fix compilaton with gcc 4.4.x
...
Closes #204
Signed-off-by: Christian Beier <dontmind@freeshell.org>
6 years ago
Christian Beier
a83439b9fb
LibVNCClient: fix three possible heap buffer overflows
...
An attacker could feed `0xffffffff`, causing a `malloc(0)` for the
buffers which are subsequently written to.
Closes #247
6 years ago
Christian Beier
09f2f3fb6a
LibVNCClient: make sure ReadFromRFBServer() does not write after buffer end in CoRRE decoding
...
Closes #250
6 years ago
Christian Beier
c3115350eb
LibVNCClient: fix possible infinite loop
...
Closes #251
6 years ago
Christian Beier
2f5b2ad1c6
LibVNCClient: don't leak uninitialised memory to remote
...
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
6 years ago