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
Michele Calgaro
8c081c8888
Removed _BSD_SOURCE, _SVID_SOURCE, _GNU_SOURCE, _XOPEN_SOURCE.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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
Christian Beier
8b06f835e2
When connecting to a repeater, only send initialised string
...
Closes #253
6 years ago
Christian Beier
5f3ea4e53d
CMake: build the repeater example as well
6 years ago
Christian Beier
e611616723
Remove the turbojpeg.h dependency from public headers
...
Closes #230
6 years ago
Christian Beier
5c968dd8a4
CMake: fix build error that occured on Windows with CMake 3.12
6 years ago
Christian Beier
587555c12a
AppVeyorCI: print CMake version
6 years ago
Christian Beier
77dce5b6af
CMake: only do jpeg-turbo tests if a libjpeg was found
6 years ago
Christian Beier
d6c907ffbc
Remove .gitignore obsoleted by CMake
...
re #248
6 years ago
Michele Calgaro
15a64bf9d5
Update URL for documentation.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
b3c3b19931
Removed unnecessary executable flag. This relates to bug 2153.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Christian Beier
79516a6aa3
CMake: make get_link_libraries() not crash when there are no linked libraries at all
6 years ago
Quentin BUATHIER
cedae6e6f9
Fix the concurrent issue hapenning between the freeing of the client and the clientOutput thread
6 years ago
Quentin BUATHIER
96e163bdae
Fix use-after-free
6 years ago
Christian Beier
474f64e5db
SDLvncviewer: work around SDL_TEXTINPUT not generating chars with CTRL down
6 years ago
Christian Beier
97c9b6c5d7
SDLvncviewer: handle mouse wheel events
6 years ago
Christian Beier
b0957702a8
SDLvncviewer: adhere to C89
6 years ago
Christian Beier
a2b5284e07
SDLvncviewer: implement Unicode input handling
6 years ago
Christian Beier
19660ff64d
TravisCI: install SDL2 dev packages for OSX as well
6 years ago
Christian Beier
b917d8f236
TravisCI: install SDL2 dev packages
6 years ago
Christian Beier
c562ed4b99
SDLvncviewer: remove obsolete video scaling code
6 years ago
Christian Beier
bfdb850bfb
SDLvncviewer: use SDL2 for clipboard handling
...
By using this, we can get rid of our own homebrewn solution scrap.[c|h] and drop X11 from the build system.
6 years ago
Christian Beier
8f1b565dbe
SDLvncviewer: make input work with SDL2
...
... at least somewhat. This is far from perfect but no regression compared to SDL1.2 functionality.
6 years ago
Christian Beier
65126b5826
SDLvncviewer: make display work with SDL2
6 years ago
Christian Beier
4d3c7dfc04
CMake: look for SDL2 instead of SDL
...
FindSDL2.cmake was downloaded from
https://github.com/tcbrindle/sdl2-cmake-scripts/blob/master/FindSDL2.cmake
6 years ago
Christian Beier
436a047f56
SDLvncviewer: add a very simple GetCredentials callback
6 years ago
Christian Beier
1781ecda34
CMake: add a LIBVNCSERVER_HAVE_GNUTLS #define
6 years ago
Christian Beier
e775aec64e
build: decouple GnuTLS|OpenSSL detection from WebSockets support
6 years ago
Christian Beier
3c05dd565e
crypto: remove polarssl wrapper
...
This is not even in the build system anymore.
6 years ago
Christian Beier
a2ebdf46cc
CMake: declare that websockets depend on crypto
6 years ago
Christian Beier
49f1d8de47
build: remove LIBVNCSERVER_WITH_CLIENT_TLS #define
...
It is not used anywhere anymore.
6 years ago
Christian Beier
85fb69515c
crypto: move to common
...
As of now, only LibVNCServer makes uses of these digest functions _and_
they depend on sys/uio.h, but in the future LibVNCClient will need those
as well.
6 years ago