7086 Commits

Author SHA1 Message Date
Armin Novak
4047139905 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:40 +01:00
Armin Novak
97c435d5ed [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:39 +01:00
Armin Novak
5985bda2b0 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:39 +01:00
Armin Novak
ab75b85531 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:39 +01:00
Armin Novak
40704c5213 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:39 +01:00
Armin Novak
d93e09e942 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:39 +01:00
Armin Novak
f7c0bdca6a [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:39 +01:00
Armin Novak
9272d8b255 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:38 +01:00
Armin Novak
d22df6c6e5 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:38 +01:00
Armin Novak
ad80c7a719 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:38 +01:00
Armin Novak
5224c35fe0 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:38 +01:00
Armin Novak
38d1eaf0b0 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:38 +01:00
Armin Novak
2f3c9aff3c [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:37 +01:00
Armin Novak
6e5993c768 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:37 +01:00
Armin Novak
383255409e [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:37 +01:00
Armin Novak
c607056f93 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:37 +01:00
Armin Novak
a177d4af39 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:37 +01:00
Armin Novak
ef8b76887a [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:37 +01:00
Armin Novak
c3faabebec [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:36 +01:00
Armin Novak
3a250af8f5 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:36 +01:00
Armin Novak
32e831506b [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:36 +01:00
Armin Novak
69103d5a5a [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:36 +01:00
Armin Novak
465b5e3ac8 [codec,nsc] split nsc_encode_next_rgba
Split function into smaller subfunctions handling one color format each.
2026-01-08 11:07:39 +01:00
Armin Novak
af8c75f196 [core] fix nonstring warnings
Initialize variables as arrays to avoid nonstring warnings with gcc >=
15 and clang
2026-01-08 09:43:22 +01:00
Armin Novak
3e6dda95c2 [core,mcs] replace rdpTransport pointer with rdpContext
Only keep pointers to rdpContext so updates/changes to rdpTransport are
not leading to dangling pointers
2026-01-08 09:24:32 +01:00
Armin Novak
d51fecc52d [core,aad] replace rdpTransport pointer with rdpContext
Only keep pointers to rdpContext so updates/changes to rdpTransport are
not leading to dangling pointers
2026-01-08 09:24:32 +01:00
Armin Novak
b56e17e611 [core,freerdp] fix race in freerdp_abort_connect_context
When aborting a connection only notify the client thread. Let
freerdp_disconnect handle sending server notifications.
2026-01-07 17:24:15 +01:00
Armin Novak
980284b86e [core,transport] fix format string warning 2026-01-07 15:59:39 +01:00
Armin Novak
fe21afb9ae [codec,xcrush] fix div/0 warning 2026-01-07 15:59:38 +01:00
Armin Novak
c5131e72be [core,transport] check if critical section exists
When deleting the transport only lock critical sections if the creation
succeeded.
2026-01-07 15:42:57 +01:00
akallabeth
788d220ba5 [core,gateway] fix http response
* copy extracted strings, the buffer might get invalidated later
2025-12-29 18:50:11 +01:00
akallabeth
a0b21f992a Merge pull request #12072 from akallabeth/cert-data-checks
[crypto,certificate_data] add some hostname sanitation
2025-12-14 09:32:24 +01:00
akallabeth
83d96a81f3 [crypto,certificate_data] add some hostname sanitation 2025-12-13 17:29:09 +01:00
akallabeth
b160ea80e8 [mingw] fix type incompatibilities
The integer types with MINGW do not always match. Ensure the correct
32bit interger base type is used when passing pointers
2025-12-12 19:09:30 +01:00
akallabeth
d1ed8db7f0 [core,aad] log WINPR_JSON_ParseWithLength failures 2025-12-10 15:23:00 +01:00
akallabeth
4e212e6f31 [utils,http] log http response
add the full http response to the debug log
2025-12-10 14:27:54 +01:00
akallabeth
44ab77c035 Merge pull request #12055 from akallabeth/sanitize-hostname
[crypto,certificate] sanitize hostnames
2025-12-09 09:01:19 +01:00
akallabeth
3666b91981 [crypto,certificate] sanitize hostnames
When creating a local certificate file ensure the hostname does not
contain invalid characters.
2025-12-09 08:32:42 +01:00
akallabeth
bd0544bea7 Merge pull request #12050 from akallabeth/from-stdin
From stdin and sdl-creds improve
2025-12-08 16:50:14 +01:00
akallabeth
67e55811aa [utils,helpers] fix freerdp_settings_get_legacy_config_path
properly append filename to the path as is done in other configuration
tyhpes.
2025-12-08 02:19:35 +01:00
akallabeth
78c9779eb1 [utils,passphrase] fix dangling pointers 2025-12-07 09:02:57 +01:00
akallabeth
20fc94edbc [core,listener] handle VMADDR_CID_ANY 2025-12-05 13:36:02 +01:00
akallabeth
2870ab7937 [core,transport] improve SSL error logging 2025-12-05 10:55:39 +01:00
akallabeth
c9b008637b [core,nla] split nla_encode_ts_credentials 2025-12-05 08:20:28 +01:00
David Fort
3f3a0426d3 Merge pull request #12042 from Devolutions/bug/smartcard_hw_enumerateCerts_off_by_one
[smartcardlogon] Fix off-by-one error in `smartcard_hw_enumerateCerts`
2025-12-04 17:58:07 +01:00
Richard Markiewicz
a56a50361b [smartcardlogon] Fix off-by-one error in smartcard_hw_enumerateCerts 2025-12-04 11:16:30 -05:00
David Fort
65bb6c59fc rdpear: handle basic NTLM commands and fix server-side
This patch adds the handling of basic NTLM commands. Because there's some mysterious
4 zero bytes after pickle header in Kerberos packets, not present in NTLM commands, the
patch also had to rework a bit the packet parsing / forging.

The patch also addresses a server-side bug when parsing supplemental creds, if the client
was sending an empty list, we were considering this as an error.

And finally we also implement the parsing of MSV1_0_REMOTE_SUPPLEMENTAL_CREDENTIAL.
This breaks the public API, anyway this was basically unused (as not parsed before) and
the previous API was wrong as what we receive is MSV1_0_REMOTE_SUPPLEMENTAL_CREDENTIAL
not MSV1_0_SUPPLEMENTAL_CREDENTIAL, so I guess the API breakage is ok.
2025-12-04 11:31:09 +01:00
Armin Novak
cd8d2e98b1 [core,nego] disable all enabled modes except the one requested
If a TYPE_RDP_NEG_FAILURE message is received, evaluate the failure code
and disable all modes except the one requested. This eliminates
unnecessary connection attempts with security modes not enabled.
2025-12-03 10:47:48 +01:00
akallabeth
48475aba72 [codec,ffmpeg] 8.0 dropped AV_PROFILE_AAC_MAIN
replace with AV_PROFILE_AAC_LOW which is supported by all aac
encoders/decoders
2025-11-18 21:07:27 +01:00
akallabeth
c632a703df [core,input] Add debug log to keyboard state sync 2025-11-18 14:26:45 +01:00