Pierre Ossman
4555537409
Encapsulate PixelBuffer internal details
Don't allow subclasses to just override dimensions or buffer details
directly and instead force them to go via methods. This allows us
to do sanity checks on the new values and catch bugs and attacks.
(cherry picked from commit 53f913a761
)
4 years ago
Pierre Ossman
042de46422
Make ZlibInStream more robust against failures
Move the checks around to avoid missing cases where we might access
memory that is no longer valid. Also avoid touching the underlying
stream implicitly (e.g. via the destructor) as it might also no
longer be valid.
A malicious server could theoretically use this for remote code
execution in the client.
Issue found by Pavel Cheremushkin from Kaspersky Lab
(cherry picked from commit d61a767d68
)
4 years ago
Lauri Nurmi
8f77cf8ea2
Update Finnish translation
(cherry picked from commit 7ac36ad42f
)
4 years ago
Balázs Úr
2e0654ea0c
Update Hungarian translation
(cherry picked from commit 47c7de6008
)
4 years ago
JiYoon Kwon
fcd7ab4573
Add Korean translation
(cherry picked from commit 36454cfa88
)
4 years ago
Pierre Ossman
8d5cb30dbf
TigerVNC 1.10.0
4 years ago
Göran Uddeborg
3e9301e20a
Update Swedish translation
(cherry picked from commit bbbb67ee32
)
4 years ago
Petr Pisar
7045fc8da0
Update Czech translation
(cherry picked from commit bae4f60b08
)
4 years ago
Yuri Kozlov
abe6cf702d
Update Russian translation
(cherry picked from commit fb7667646f
)
4 years ago
Rafael Fontenelle
169baa7f11
Update Brazilian Portuguese translation
(cherry picked from commit eea96c4e40
)
4 years ago
Alexander Shopov
18bbe6a2aa
Update Bulgarian translation
(cherry picked from commit 16abf6bcef
)
4 years ago
Mario Blättermann
b28276095a
Update German translation
(cherry picked from commit e1210592c9
)
4 years ago
Yuri Chornoivan
ab1b15cc37
Update Ukrainian translation
(cherry picked from commit 71b0d7c86c
)
4 years ago
pan93412
e4bd882ef7
Update Chinese (traditional) translation
(cherry picked from commit 13b58d9206
)
4 years ago
Brian P. Hinz
5523480b0f
Set explicit connect timeout on socket and use timer instead of counting iterations
4 years ago
Brian P. Hinz
9ab28ef32d
Poll local socket to make sure SSH tunnel is ready before connecting
4 years ago
Brian P. Hinz
7e32921c65
Fix external SSH arguments dialog
4 years ago
Brian P. Hinz
e0f50f2e7f
Fix for dialog modality on Mac OS X
4 years ago
Brian P. Hinz
be9c0489ce
Fix for issue #796
4 years ago
Brian P. Hinz
7b6532423d
Using socket.getPeerName() causes DNS lookup and noticable UI stall
4 years ago
Brian P. Hinz
929bd648b9
[java] Add support for java 9+ (removes support for java 7). Fixes #708,#771
4 years ago
Brian P. Hinz
3695a59527
[java] Trim any leading/trailing whitespace from servername
4 years ago
Pierre Ossman
155e59e54c
TigerVNC 1.9.90 (1.10.0 beta)
4 years ago
Pierre Ossman
0c7fe41611
Update translation template file
4 years ago
Pierre Ossman
e6fb25e4b8
Merge branch 'fix-mistake' of https://github.com/gschwind/tigervnc
4 years ago
Pierre Ossman
e71a426f0c
Fix bad PixelBuffer reference in VNCServerST::setPixelBuffer()
We need to examine the incoming PixelBuffer, not the previous one
(which might not even be valid).
4 years ago
Samuel Mannehed
9bd75993cb
Merge pull request #866 from gschwind/fix-wrong-test-order
fix test order in convertLF and convertCRLF
4 years ago
Pierre Ossman
02f87f37dd
Fix length checks in string conversion functions
We need to check the buffer length before accessing the incoming
string. Probably not a problem in practice as there should be a
final null in most incoming strings.
Issue found by Pavel Cheremushkin from Kaspersky Lab.
4 years ago
Pierre Ossman
07993b26c9
Add unit tests for convertLF() and convertCRLF()
4 years ago
Pierre Ossman
94de4dd0c4
Split test programs to benchmarking and unit tests
They have very different purpose, so make things easier to work
with by having multiple directories.
4 years ago
Pierre Ossman
d06906db59
Use display polling by default in WinVNC
Window hooks aren't working well on modern systems so switch the
default to polling until we can fix things.
4 years ago
Benoit Gschwind
ff2c39e270
fix test order in convertLF and convertCRLF
The new order of test avoid ready invalid memory address in ca.buf
4 years ago
Benoit Gschwind
8e09912f9d
fix to early remove of iterator in VNCServerST::removeSocket
4 years ago
Samuel Mannehed
ae5d92e1a9
Merge pull request #849 from grulja/master
Do not return returncode indicating error when listing sessions
5 years ago
Jan Grulich
3fc2561f78
Do not return returncode indicating error when listing sessions
5 years ago
Pierre Ossman
5b8a629661
Merge branch 'exclipboard' of https://github.com/CendioOssman/tigervnc
5 years ago
Pierre Ossman
0ff2655456
Support extended clipboard transfers
Implements support in both client and server for the extended
clipboard format first seen in UltraVNC. Currently only implements
text handling, but that is still an improvement as it extends the
clipboard from ISO 8859-1 to full Unicode.
8 years ago
Pierre Ossman
5fbbe10b6c
Use UTF-8 in clipboard API
In prepartion for better clipboard extensions that can send Unicode
data between the client and server.
5 years ago
Pierre Ossman
615d16bd5b
Improved clipboard API
Change the internal clipboard API to use a request based model in
order to be prepared for more advanced clipboard transfers.
5 years ago
Pierre Ossman
56fa782156
Add UTF-8 to/from ISO 8859-1 conversion routines
We convert between UTF-8 and ISO 8859-1 (latin 1) in several places
so create some common routines for this.
8 years ago
Pierre Ossman
66f1db543b
Clean up internal clipboard handling
We now filter incoming data, which means we can start assuming the
clipboard data is always null terminated. This allows us to clean
up a lot of the internal handling.
5 years ago
Pierre Ossman
546b2ad80a
Make sure clipboard uses \n line endings
This is required by the protocol so we should make sure it is
enforced. We are tolerant of clients that violate this though and
convert incoming clipboard data.
5 years ago
Pierre Ossman
1d696c6bfa
Remove max area parameter from Region::get_rects()
It was unused and added complexity and bugs to the code. So let's
remove it rather than trying to clean up a function no one needed.
5 years ago
Pierre Ossman
01dd7af4d2
Properly mark overloaded methods with virtual
Makes it easier to see what is overloaded and what isn't.
5 years ago
Pierre Ossman
da10343f32
Request keyboard grab ability under Xwayland
We're usually white listed, but let's be a good citizen and formally
request the keyboard grab ability from the compositor.
5 years ago
Stéphane Aulery
3b6dec9fbe
Update French translation
5 years ago
Pierre Ossman
c65cd4b746
Merge branch 'master' of https://github.com/lprylli/tigervnc
5 years ago
Pierre Ossman
2ff61a285e
Remove unneeded logging from ZRLE decoder
We will log the exception, so avoid direct writes to stderr by
simply removing these log lines.
5 years ago
Pierre Ossman
e9e7da9b7a
Do proper logging rather than fprintf(stderr, ...)
8 years ago
Pierre Ossman
0fb3e35195
Remove commented out logging
8 years ago