Commit Graph

583 Commits (340b9b6076ab2ac4c37418a4e7822e475c96614f)
 

Author SHA1 Message Date
Christian Beier 2554b84b8b
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
(cherry picked from commit 2f5b2ad1c6c99b1ac6482c95844a84d66bb52838)
6 years ago
Christian Beier 90147500e0
LibVNCClient: fix possible infinite loop
Closes #251
(cherry picked from commit c3115350eb8bb635d0fdb4dbbb0d0541f38ed19c)
6 years ago
Petr Písař 20e7000d0c
Limit client cut text length to 1 MB
This patch constrains a client cut text length to 1 MB. Otherwise
a client could make server allocate 2 GB of memory and that seems to
be to much to classify it as a denial of service.

The limit also prevents from an integer overflow followed by copying
an uninitilized memory when processing msg.cct.length value larger
than SIZE_MAX or INT_MAX - sz_rfbClientCutTextMsg.

This patch also corrects accepting length value of zero (malloc(0) is
interpreted on differnet systems differently).

CVE-2018-7225
<https://github.com/LibVNC/libvncserver/issues/218>
(cherry picked from commit 28afb6c537dc82ba04d5f245b15ca7205c6dbb9c)
6 years ago
Michele Calgaro 6221931c63
Updated date and version to R14.0.6 in .lsm files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro f3eb8ddb9d
Updated VERSION reference to R14.0.6 in CMakeLists.txt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
TDE Gitea 2e7ff2764c Reset submodule main/tdenetwork/cmake to latest HEAD 6 years ago
TDE Gitea b173f44bb0 Reset submodule main/tdenetwork/admin to latest HEAD 6 years ago
Slávek Banko 2d0d6df1dc
Use socklen_t directly, instead of deprecated ksize_t.
This resolves FTBFS on FreeBSD 12.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 95285a6e56)
6 years ago
Slávek Banko 686de3c7b7
Fix potential memory leak.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Jay Carlson c84d8d813c
Avoid divide-by-zero in raw encoding (OSX RealVNC)
OS X RealVNC server crashes out Remmina because the server can provoke
bytesPerLine to be zero. Assume this is coding for zero lines.

The condition could be checked before the calculation of bytesPerLine.
I don’t understand the preconditions of this code to say one way or the
other.
6 years ago
Slávek Banko f73675cdcb
Use common CMake tests.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 9f6b1118bc)
6 years ago
TDE Gitea 14a1a35f6e Reset submodule main/tdenetwork/cmake to latest HEAD 6 years ago
TDE Gitea b4bc93978c Reset submodule main/tdenetwork/cmake to latest HEAD 6 years ago
Slávek Banko e4b82430e9
Fix empty translation.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit dca06b0505)
6 years ago
TDE Gitea 524a6ac3fc Reset submodule main/tdenetwork/cmake to latest HEAD 6 years ago
TDE Gitea b4dff20753 Reset submodule main/tdenetwork/cmake to latest HEAD 6 years ago
Slávek Banko 97f214b04a
Add CMakeL10n rules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit ba6db0daa9)
6 years ago
Fabio Rossi 97d7431a4b
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
(cherry picked from commit 66285bb35a)
6 years ago
TDE Gitea 0d8fac9552 Reset submodule main/tdenetwork/cmake to latest HEAD 6 years ago
TDE Gitea 7bdb1819bf Reset submodule main/tdenetwork/cmake to latest HEAD 6 years ago
TDE Gitea f582854e38 Reset submodule main/tdenetwork/admin to latest HEAD 6 years ago
TDE Gitea f5700ef543 Reset submodule main/tdenetwork/cmake to latest HEAD 6 years ago
TDE Gitea e023d75149 Reset submodule main/tdenetwork/cmake to latest HEAD 6 years ago
gregory guy 80ac67ec60
change EXEC_PROCESS for EXECUTE_PROCESS, this solves issue #2
Signed-off-by: gregory guy <g-gregory@gmx.fr>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 2a97cbef31)
6 years ago
Slávek Banko 9087d76878
Add includes to UI files to resolve FTBFS
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 94033dc8bb)
7 years ago
TDE Gitea 58f8464d1a Reset submodule main/tdenetwork/admin to latest HEAD 7 years ago
Michele Calgaro a7912c1b06
Removed unnecessary executable flag. This relates to bug 2153.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit e524e3be92)
7 years ago
Michele Calgaro a8b17b4428
Fixed typedef-related warnings from compiler.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 28ea76eab7)
7 years ago
Slávek Banko 3187fddb06
Fix FTBFS with stricter C++11
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit c0dd6fa720)
7 years ago
Slávek Banko 69a9d3878d Update version numbers and date for R14.0.5 final release 7 years ago
Slávek Banko ac2709d4df Update bug reports url to bugs.trinitydesktop.org
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 3fcbeef084)
7 years ago
Slávek Banko 92f11c1199 kopete: Add descriptions for connection options
This relates to bug 2669

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 449164733b)
7 years ago
Slávek Banko 9ff4b6fdc3 Reset submodule main/tdenetwork/admin to latest HEAD 7 years ago
Slávek Banko 07c1f0e1a6 Reset submodule main/tdenetwork/admin to latest HEAD 7 years ago
Slávek Banko 52ff952610 Reset submodule main/tdenetwork/admin to latest HEAD 7 years ago
Slávek Banko 70e337eaa8 kopete: Remove the AIM specific code from liboscar
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 036b0229db)
7 years ago
Slávek Banko f59b2e28c7 kopete: Remove AIM protocol
AIM network has been shutdown in 2017-12-15
This resolves Bug 2846

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit dc34f9c391)
7 years ago
Slávek Banko 21ba13a5b4 kopete: Remove references to MSN from the documentation
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f6fd4ab6c0)
7 years ago
Slávek Banko 5747b9f9aa kopete: Fix unintended renaming ICQ => ICTQ
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit c49165ddb7)
7 years ago
Slávek Banko bfd06d843d kopete: Remove CMake build option for MSN protocol
MSN protocol has already been dropped in commit 04860347

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 2d5f9c55da)
7 years ago
Slávek Banko eae983a487 Reset submodule main/tdenetwork/cmake to latest HEAD 8 years ago
Slávek Banko 3faed3bc79 Reset submodule main/tdenetwork/cmake to latest HEAD 8 years ago
Slávek Banko 027e260139 Fix detection whether the system is big endian
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit ed71acf6dc)
8 years ago
Slávek Banko 80fc48ed46 Reset submodule main/tdenetwork/cmake to latest HEAD 8 years ago
Slávek Banko ea7e03bcaf Reset submodule main/tdenetwork/cmake to latest HEAD 8 years ago
Slávek Banko 445d2b56e9 Reset submodule main/tdenetwork/admin to latest HEAD 8 years ago
Slávek Banko a7ca819d08 cmake: add tde_add_check_executable macro 8 years ago
Slávek Banko b6ced0eb08 Kopete - avdevice: Use standard integer types instead of Linux specific
This resolves FTBFS on FreeBSD

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 46042bc67e)
8 years ago
Slávek Banko 0feb22c61f cmake: Move test for stdint.h to common tests
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 182234c826)
8 years ago
Slávek Banko a86cb078cb Fix CMake build dependencies
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a2f55c2d17)
8 years ago