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
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