metalefty
c7b83c47b3
Merge pull request #3700 from matt335672/cppcheck_2_19
...
cppcheck: Bump version to 2.19.1
2026-01-15 20:35:02 +09:00
matt335672
311a88f1fc
cppcheck: Bump version to 2.19.1
2026-01-13 10:31:38 +00:00
matt335672
1cab2d91da
Merge pull request #3694 from matt335672/coverity_fix
...
Coverity: Fix TAINTED_SCALAR warning
2025-12-29 11:24:02 +00:00
matt335672
28c1cbea97
Coverity: Fix TAINTED_SCALAR warning
2025-12-29 11:02:21 +00:00
matt335672
846a32a6b4
Merge pull request #3640 from matt335672/xrdpapi_connect_status
...
xrdpapi: Add a way to monitor connect/disconnect events
2025-12-28 11:39:07 +00:00
matt335672
9c5ee210cd
xrdpapi: Fix simple test regression
2025-12-28 11:34:06 +00:00
matt335672
756d415bbc
strncpy: Replace some instances
...
Instances of g_strncpy() in xrdp_wm_parse_domain_information() are
replaced with strlcpy()
2025-12-24 16:57:53 +00:00
matt335672
dd4b56c987
CVE-2025-68670: Buffer overflow parsing domain
...
A potential overflow in xrdp_wm_parse_domain_information() is
addressed
2025-12-24 16:56:32 +00:00
matt335672
6234ccd2f4
xrdpapi: Add demo program for session events
2025-12-15 11:29:16 +00:00
matt335672
6a5d858dce
xrdpapi: Add a way to get client connect status
...
Functions are added to xrdpapi to allows the connection status
to be determimed. These functions are modelled on the Windows API
functions, but are not compatible with them. In particular, the error
handling is different.
A way for an application to receive events is also provided. At present,
only connect/disconnected events are implemented.
2025-12-15 11:26:21 +00:00
matt335672
d90b9d9316
xrdpapi: Fix memory leak in WTSVirtualChannelOpenEx()
2025-12-15 11:22:54 +00:00
matt335672
259dc937bf
Merge pull request #3683 from matt335672/fix_race_g_create_path
...
Fix Possible race condition in g_create_path()
2025-12-03 11:07:37 +00:00
matt335672
092e430512
Fix Psssible race condition in g_create_path()
...
(cherry picked from commit 2e597120443c7dcb0b32f6078999098a364f9543)
2025-12-03 11:00:28 +00:00
matt335672
0c73ea5328
Merge pull request #3684 from matt335672/devel
...
CI: Bump FreeBSD to 14.3
2025-12-03 10:55:02 +00:00
matt335672
e14dd6de77
CI: Bump FreeBSD to 14.3
2025-12-03 10:40:47 +00:00
matt335672
849001956e
Merge pull request #3677 from matt335672/init_resize_queue_early
...
resize_queue: Create before drdynvc is available
2025-12-01 13:58:35 +00:00
matt335672
8702bfe43b
Merge pull request #3678 from OldManYellsAtCloud/devel
...
waitforx: remove unneded header
2025-11-26 09:33:25 +00:00
Gyorgy Sarvari
4417646cda
waitforx: remove unneded header
...
The sys/signal.h is essentially a redirect to signal.h, without further
logic. However when using musl libc, a warning (which is treated as an error)
is also emitted about this:
| /usr/include/sys/signal.h:1:2: error: #warning redirecting incorrect #include <sys/signal.h> to <signal.h> [-Werror=cpp]
| 1 | #warning redirecting incorrect #include <sys/signal.h> to <signal.h>
Remove sys/signal.h header to solve the problem - the signal.h header is already
included in this file.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com >
2025-11-25 15:43:38 +01:00
matt335672
ec604732fd
resize_queue: Create before drdynvc is available
...
If drdynvc is not available for some reason, the resize queue is not
created. This results in a coredump if the display server requests a
resize.
2025-11-24 11:47:27 +00:00
matt335672
dbce657177
Merge pull request #3636 from matt335672/optimize_resize_queue
...
resize queue: drop unactioned client requests
2025-11-24 10:17:45 +00:00
matt335672
834ab918f7
resize queue: Drop unprocessed client requests
...
If we're adding a new client request to the queue, and the item
immediately before it is also a client request which is not yet actioned,
we can remove the previous item, as it has been superceded.
2025-11-21 12:33:38 +00:00
matt335672
6c90bc2493
Delay processing of the resize queue
...
Processing of the resize queue is delayed until we've connected to a
session, as the login screen is currently unable to cope with these
requests.
2025-11-21 12:33:38 +00:00
matt335672
c31c499372
os_calls: Add NULL_WAIT_OBJ
...
The wait_obj calls (mostly) ignore objects with a value of zero. This
is codified, so that user code can explicitly make use of this.
2025-11-21 12:33:38 +00:00
matt335672
64a7c13a77
Tag all resize_queue items with a source
...
Add a source tag for all the resize_queue items, so we can make
some decisions about queue optimisations.
2025-11-21 12:33:38 +00:00
matt335672
30c497eae4
Merge pull request #3671 from shua21/xrdp
...
do not change port when not using sesman
2025-11-19 15:32:53 +00:00
shua21
ba36dacf95
do not change xvnc port when not using sesman
2025-11-19 22:51:42 +09:00
matt335672
e7611866ad
Merge pull request #3669 from matt335672/add_slovenian_kbd
...
Add slovenian keyboard
2025-11-17 09:46:07 +00:00
matt335672
2be66424d2
Add Slovenian keyboard defs for xorgxrdp
2025-11-14 11:12:50 +00:00
matt335672
0aff9c31b2
Add Slovenian (si) keyboard definition
2025-11-14 11:08:36 +00:00
matt335672
d63fedf239
Merge pull request #3663 from matt335672/clarify_xorg_path
...
sesman.ini: Update well-known paths for Xorg
2025-11-07 13:42:57 +00:00
matt335672
4b87cfc08f
Merge pull request #2831 from firewave/wdoc
...
mitigated `-Wdocumentation` and `-Wdocumentation-unknown-command` Clang compiler warnings
2025-11-06 11:21:40 +00:00
matt335672
0bf09425c5
Merge pull request #3657 from firewave/missinclude
...
enabled and fixed `missingInclude` Cppcheck warnings
2025-11-06 11:20:17 +00:00
matt335672
0d73c2e9fe
Merge pull request #3660 from firewave/wextra
...
configure.ac: enabled `-Wextra` compiler warning
2025-11-06 11:17:54 +00:00
matt335672
5abd51b675
Code quality: Fix expansion-to-defined warning
...
Fixes a gcc compiler warning regarding a potentially unportable
use of 'defined()' in a macro
2025-11-05 13:51:49 +01:00
matt335672
71a629d509
Code quality: Allow for zero initializers
2025-11-05 13:51:49 +01:00
firewave
6b816d0c64
common/list.c: fixed -Wcalloc-transposed-args GCC warning
...
```
/home/user/CLionProjects/xrdp/common/list.c: In function ‘list_create_sized’:
/home/user/CLionProjects/xrdp/common/list.c:50:41: error: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
50 | self = (struct list *)calloc(sizeof(struct list), 1);
| ^~~~~~
/home/user/CLionProjects/xrdp/common/list.c:50:41: note: earlier argument should specify number of elements, later size of each element
```
2025-11-05 13:51:49 +01:00
firewave
b4cf498144
fixed -Wold-style-declaration compiler warnings
...
Example:
```
fontutils/fv1.c:36:1: error: ‘static’ is not at beginning of declaration [-Werror=old-style-declaration]
36 | const static char FV1_SIGNATURE[] = {'F', 'N', 'T', '1'};
| ^~~~~
```
2025-11-05 13:51:49 +01:00
firewave
b2fed3e8fc
configure.ac: enabled -Wextra compiler warning
2025-11-05 13:51:49 +01:00
matt335672
0d3122d82f
sesman.ini: Update well-known paths for Xorg
...
Include explicit references for AlmaLinux and Rocky, and remove
references to CentOS to better suit current audiences.
2025-11-05 11:00:39 +00:00
firewave
04901714f8
exclude vrplayer from Cppcheck for now because it requires Qt headers to be generated
2025-11-04 13:47:47 +01:00
firewave
01c60f9ba4
added missing include paths for Cppcheck
2025-11-04 13:41:26 +01:00
firewave
d580c8d339
adjusted some includes
2025-11-04 13:41:26 +01:00
firewave
e678de9360
enabled missingInclude Cppcheck warnings
2025-11-04 13:41:26 +01:00
firewave
7583e192e7
configure.ac: treat freetype2 include folder as a system one
2025-11-04 13:40:33 +01:00
firewave
67c11f0443
mitigated -Wdocumentation and -Wdocumentation-unknown-command Clang compiler warnings
2025-11-04 13:40:33 +01:00
matt335672
9d46ae763d
Merge pull request #3658 from matt335672/remove_xrdp_process_casts
...
Code quality: Remove 'struct xrdp_process *' casts
2025-11-04 09:19:53 +00:00
matt335672
9e1a8d78c2
Merge pull request #3572 from matt335672/cppcheck_2_18
...
Update to cppcheck 2.18.3
2025-11-03 10:39:57 +00:00
matt335672
c646002779
Code quality: Remove 'struct xrdp_process *' casts
...
The first argument to libxrdp_init() is a intptr_t / tbus value. This
represents the xrdp instance which is using the library, but this value
is always a 'struct xrdp_process' pointer.
This PR replaces the intptr_t with an incomplete type declaration at
the interface between xrdp and libxrdp.
The original intention was probably to provide some separation from
xrdp and the libxrdp code, but in practice this has turned out not to be
useful.
2025-11-03 10:34:42 +00:00
matt335672
b8e7c6eeb2
cppcheck: Minor bump to 2.18.3
2025-10-31 20:30:24 +00:00
matt335672
5853a781b9
Update to cppcheck 2.18.0
2025-10-31 20:30:24 +00:00