Michele Calgaro
90abc79efa
krfb: fix termination and syncing of threads on exit. This resolves issue #2 .
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
11 months ago
Michele Calgaro
6d6d6edb1d
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
11 months ago
Slávek Banko
3867fea38f
Raise the minimum required version of CMake to 3.5.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
1 year ago
Michele Calgaro
6c3b9ce309
Replace Q_OBJECT with TQ_OBJECT
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Slávek Banko
19fdbe7281
Add sys/socket.h include in sasl.c to resolve FTBFS.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Slávek Banko
711aa54404
Add path to the local CMake modules to detect libraries.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Michele Calgaro
d12615deb3
Remove unnecessary re-definition of true/false boolean values.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
François Andriot
512fd4d832
Fix 'true' definition.
...
This fixes issue #43 .
Signed-off-by: François Andriot <francois.andriot@libertysurf.fr>
3 years ago
Michele Calgaro
1aae5a01b3
Remove obsolete setting of CMAKE_MODULE_PATH in cmake files.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Slávek Banko
d8cf476afd
Raise the minimum required version of CMake to 3.1.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko
c87a678c21
Raise the minimum required version of CMake to 2.8.12.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko
c22381d0e4
Update the CMake rules according to the previous rename.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko
b527887648
Rename main.c to main.cpp because it needs to be built as C++
...
for integration with TQt event loop.
Use tq... includes instead of ntq....
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Michele Calgaro
5255fdc964
Renaming of files in preparation for code style tools.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
25d23bd00b
Removed additional code formatting modelines.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
6239c52191
Removed code formatting modelines.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
4a0c933b07
Removed explicit usage of the 'register' keyword.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Petr Písař
6142d389db
Limit lenght to INT_MAX bytes in rfbProcessFileTransferReadBuffer()
...
This ammends 15bb719c03
fix for a heap
out-of-bound write access in rfbProcessFileTransferReadBuffer() when
reading a transfered file content in a server. The former fix did not
work on platforms with a 32-bit int type (expected by rfbReadExact()).
CVE-2018-15127
<https://github.com/LibVNC/libvncserver/issues/243 >
<https://github.com/LibVNC/libvncserver/issues/273 >
(cherry picked from commit 09e8fc02f59f16e2583b34fe1a270c238bd9ffec)
6 years ago
Slávek Banko
177b748ba1
Fix path added to CMAKE_MODULE_PATH.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko
d63fb689d4
Disable support for systemd socket activation.
...
We do not want any direct dependence on the systemd.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko
f3f392caec
Merge tag 'LibVNCServer-0.9.12'
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Christian Beier
0a70095271
Update ChangeLog
6 years ago
Christian Beier
d3a4292aa9
Move pipe_notify_client_thread to end of rfbClientRec
...
in order to retain ABI compatibility.
6 years ago
Christian Beier
14c24e2bcc
Fix comment style and be a bit more verbose
...
... explaining cedae6e6f9
.
6 years ago
Christian Beier
ffa449ad01
Merge pull request #238 from tetrane/pr-fix-use-after-free
...
Fix use-after-free and concurrent access segmentation fault
6 years ago
Christian Beier
cd197f6dae
NEWS: update for 0.9.12
...
re #256
6 years ago
Christian Beier
acc9af95ee
CMake: require stdint.h
...
This is used at quite a few places in the code, so make it mandatory.
6 years ago
Christian Beier
15bb719c03
Error out in rfbProcessFileTransferReadBuffer if length can not be allocated
...
re #273
6 years ago
Christian Beier
a64c3b37af
LibVNCClient: remove now-useless cast
...
re #273
6 years ago
Christian Beier
c2c4b81e6c
LibVNCClient: fail on server-sent desktop name lengths longer than 1MB
...
re #273
6 years ago
Christian Beier
9998deee9c
AppVeyorCI: update cyrus-sasl URL
6 years ago
Christian Beier
394ed4bcf7
README: link LiberaPay team account
6 years ago
Christian Beier
139da17b6e
Merge pull request #267 from veyon/external-lzo
...
Allow to use global LZO library instead of miniLZO
6 years ago
Christian Beier
e34bcbb759
LibVNCClient: ignore server-sent reason strings longer than 1MB
...
Fixes #273
6 years ago
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
Quentin BUATHIER
00bae113d5
Check the return code of pipe
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
Tobias Junghans
e66a8a17f3
Allow to use global LZO library instead of miniLZO
...
The complete LZO library nowadays is installed on many systems so we can
optionally make use of it and omit internal miniLZO implementation.
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