Commit Graph

22565 Commits

Author SHA1 Message Date
Armin Novak
01e1f1b595 [crypto] deprecate er and der modules
These are unused and not well tested, mark them deprecated to announce
removal once FreeRDP 4 is released.
2026-01-21 16:41:25 +01:00
akallabeth
e327d97c59 Merge pull request #12166 from akallabeth/scard-terminate
[channels,smartcard] revert 649f7deee4
2026-01-21 13:35:08 +01:00
Armin Novak
2e6af8159d Revert "Fix dead lock in smartcard"
This reverts commit 649f7deee4.
2026-01-21 13:22:36 +01:00
Armin Novak
c9d1e371d2 [gateway,tsg] fix unused variable warning 2026-01-21 13:19:56 +01:00
akallabeth
c6da7a8cf6 Merge pull request #12167 from akallabeth/tsg-fix2
Tsg fix idleTimeout parsing
2026-01-21 13:15:12 +01:00
Armin Novak
ea00e5ea4d [gateway,tsg] fix idleTimeout parsing 2026-01-21 12:55:25 +01:00
Armin Novak
9c2e50408a [gateway,tsg] log if unparsed data is detected 2026-01-21 12:55:25 +01:00
Armin Novak
de4109b0a7 [gateway,rdg] log unparsed data if detected 2026-01-21 12:55:24 +01:00
akallabeth
5f706a8db6 Merge pull request #12163 from akallabeth/sspi-krb-heimdal
Sspi krb heimdal
2026-01-21 05:55:00 +01:00
akallabeth
8a53798049 [core,freerdp] eliminate uninitialized warning 2026-01-20 17:15:13 +01:00
akallabeth
cf0a37ceb9 [winpr,sspi] fix Heimdal support
Add support to kerberos_ATTR_AUTH_IDENTITY
2026-01-20 17:15:07 +01:00
akallabeth
5d89c9033e [winpr,sspi] fix Heimdal support
Add support to kerberos_ATTR_AUTH_IDENTITY
2026-01-20 16:41:40 +01:00
akallabeth
4794296e4f Merge pull request #12162 from jadahl/wip/server-kerberos-auth-identity
Allow querying auth identity with kerberos when running as a server
2026-01-20 16:26:38 +01:00
Jonas Ådahl
f93564bb69 Handle querying nla context attributes via the transport
When running as a server, the rdpContext struct doesn't have a rdpNla
instance, so for freerdp_nla_QueryContextAttributes() to work, it has to
use the rdpNla instance from the transport. Note that this instance is
only valid during authentication, though thus usable from the Logon
callback.
2026-01-20 16:04:25 +01:00
akallabeth
5116a804da Merge pull request #12161 from akallabeth/tsg-fix
[gateway,tsg] fix TSG_PACKET_RESPONSE parsing
2026-01-20 15:56:03 +01:00
Jonas Ådahl
0da2c31a9b kerberos: Add support for querying SECPKG_ATTR_AUTH_IDENTITY
This krb5_unparse_name_flags() to retrieve the user part of the
principal, and krb5_princ_realm() for the domain, while checking for
buffer overflows before writing to the auth identity structure.
2026-01-20 15:22:41 +01:00
akallabeth
36ae046685 [gateway,tsg] fix TSG_PACKET_RESPONSE parsing
* Fix parsing to conform to [MS-TSGU] 2.2.9.2.1.5 TSG_PACKET_RESPONSE
* Deactivate TSG_NAP_CAPABILITY_QUAR_SOH (simplifies parsing)
* Add proper logging for expected parser violations
2026-01-20 14:58:46 +01:00
akallabeth
3194bd7023 [client,common] fix /sec: help text
One of rdp|tls|nla|... is required, remove the optional braces.
2026-01-20 14:58:40 +01:00
akallabeth
72a967aaea Merge pull request #12157 from akallabeth/info-fix
[core,info] fix missing NULL check
2026-01-19 21:00:02 +01:00
akallabeth
4d44e3c097 [core,info] fix missing NULL check 2026-01-19 20:11:44 +01:00
akallabeth
b0506e2ffa Merge pull request #12155 from akallabeth/release-3.21.0
Release 3.21.0
2026-01-19 16:53:21 +01:00
akallabeth
10440d2ef6 dev cycle 3.21.1-dev0 2026-01-19 16:19:08 +01:00
akallabeth
6f5d0048f0 release 3.21.0 2026-01-19 16:19:06 +01:00
akallabeth
18d0bd66da changelog 2026-01-19 16:19:03 +01:00
akallabeth
b0c7b5917b Merge pull request #12154 from akallabeth/clang-tidy-cleanups
[clang-tidy] clean up code warnings
2026-01-19 13:29:45 +01:00
akallabeth
84d3d99338 [clang-tidy] clean up code warnings 2026-01-19 13:05:26 +01:00
akallabeth
44257e42ce Merge pull request #12153 from akallabeth/fix-fix-fix
Double free fixes
2026-01-19 09:17:58 +01:00
akallabeth
52106a2672 [cache,offscreen] invalidate bitmap before free
First ensure the bitmap is no longer used for drawing before calling the
free function.
2026-01-19 08:59:05 +01:00
akallabeth
0421b53fcb [client,x11] fix double free in case of invalid pointer 2026-01-19 08:53:12 +01:00
akallabeth
3370e30e92 Merge pull request #12152 from akallabeth/fmt-warn-fixes
[warnings,format] fix format string warnings
2026-01-16 14:49:18 +01:00
akallabeth
e02a55d434 [client,android] fix client build warnings 2026-01-16 14:32:29 +01:00
akallabeth
b86369beb7 [core,tcp] fix freerdp_tcp_connect_timeout size type 2026-01-16 13:47:25 +01:00
akallabeth
fb8efd45f2 [c,format] fix format string and review warnings 2026-01-16 13:36:14 +01:00
akallabeth
832da09b3e [utils,rdpdr] force constant to unsigned 2026-01-16 13:22:48 +01:00
akallabeth
93952b87c3 [warnings,format] fix format string warnings 2026-01-16 13:22:45 +01:00
akallabeth
90f62bd353 Merge pull request #12150 from akallabeth/wlog-printf
Wlog printf format string checks
2026-01-16 13:01:55 +01:00
akallabeth
bcfb09b934 Merge pull request #12151 from akallabeth/glyph-fix
Glyph fix length checks
2026-01-16 12:45:51 +01:00
akallabeth
243ecf804b [codec,clear] check clear_decomress glyphData
Check destination coordinates and lengths against the actual sizes. Log
every truncation accordingly
2026-01-16 12:22:46 +01:00
akallabeth
9f0eb3b7d4 [gdi,graphics] Use freerdp_glyph_convert_ex 2026-01-16 12:09:29 +01:00
akallabeth
3bc1eeb4f6 [codec,color] add freerdp_glyph_convert_ex
The function freerdp_glyph_convert does not check input buffer length,
deprecate it and provide a replacement that does properly check.
2026-01-16 12:09:26 +01:00
akallabeth
7d8c61931b [c,printf] fix wlog format string to match arguments 2026-01-16 12:08:07 +01:00
akallabeth
a1f2ea503e [cmake,format] fix source code formatting 2026-01-16 11:47:25 +01:00
akallabeth
35b9d1b338 [c,printf] fix wlog format string to match arguments 2026-01-16 11:43:33 +01:00
akallabeth
8388fea2f7 [c,printf] fix wlog format string to match arguments 2026-01-16 11:43:30 +01:00
akallabeth
7e521697f1 [c,printf] fix wlog format string to match arguments 2026-01-16 11:43:27 +01:00
akallabeth
67d9424d8b [c,printf] fix wlog format string to match arguments 2026-01-16 11:43:25 +01:00
akallabeth
3d909cb301 [c,printf] fix wlog format string to match arguments 2026-01-16 11:43:22 +01:00
akallabeth
d72c3a618a [c,printf] fix wlog format string to match arguments 2026-01-16 11:43:19 +01:00
akallabeth
66b644d563 [c,printf] fix wlog format string to match arguments 2026-01-16 11:43:16 +01:00
akallabeth
d15978d666 [c,printf] fix wlog format string to match arguments 2026-01-16 11:43:14 +01:00