Commit Graph

6586 Commits

Author SHA1 Message Date
akallabeth
280c61061c [core,rdp] fix check for SEC_FLAGSHI_VALID 2025-03-31 22:16:05 +02:00
akallabeth
81131dddb9 [core,rdp-sec] unify security flags on UINT16 2025-03-31 19:32:06 +02:00
Eyal Tolchinsky
8c766370aa [core] synchronize standard RDP security encrypt and send
Had a race condition when using standard RDP security layer, where
encryption and send were not synchronized. This commit properly
synchronizes the above issue.
2025-03-31 17:46:12 +03:00
Eyal Tolchinsky
9be45a9fac [core] standard RDP race condition on sec_flags
Had a race condition when using standard RDP security layer, where
multiple threads accessed |rdp->sec_flags| and modified it. This commit
removes the above field and converts to using a stack variable.
2025-03-31 17:46:12 +03:00
poasun
036ccd1cdd [core,childsession] fix BIO_set_handle
* Set the HANDLE directly, not a HANDLE*
* Fix the setter function (wrong function signature)
2025-03-31 09:03:44 +02:00
akallabeth
eb4380d458 [core,info] only set HIDEF_RAIL if RdpVersion recent enough 2025-03-29 08:26:02 +01:00
David Fort
b67a1aed7e nla: send user and domain hints with smartcard logon
When logging with a smartcard logon, the TS Credentials packet can also contains
hints of the user and the domain that were used. This patch adds these informations.
2025-03-27 15:07:54 +01:00
akallabeth
89340f096f [gdi] clean up gdi_send_suppress_output 2025-03-26 20:34:57 +01:00
akallabeth
c06bf6ccb0 [warnings] fix format warnings 2025-03-24 21:23:10 +01:00
akallabeth
04b2cd9dcf [core,caps] remove unused define 2025-03-21 09:34:41 +01:00
akallabeth
48c38a2718 [core,gcc] simplify cleanup code 2025-03-21 09:29:35 +01:00
akallabeth
424a4f93c2 Merge pull request #11360 from akallabeth/dyn-log
Prefer Dynamic log
2025-03-20 08:49:28 +01:00
Armin Novak
e4df43a37a [freerdp] fix argument consistency, casts 2025-03-19 19:32:09 +01:00
akallabeth
97d359aafb Merge pull request #11377 from llyzs/fix-transport
[core,transport] fix transport written statistics overflowing.
2025-03-19 11:48:04 +01:00
Vic Lee
7338c52893 [core,transport] fix transport written statistics overflowing. 2025-03-19 18:26:28 +08:00
Armin Novak
01f01d3195 [core,gateway] extend HTTP to RPC fallback detection
* add HTTP_STATUS_GONE and HTTP_STATUS_FORBIDDEN to status codes on
  which to fall back to RPC
2025-03-19 09:48:35 +01:00
Armin Novak
7bf010af22 [core,gateway] log http reponse location of call
in http_response_log_error_status log the location of where it was
called instead of the function itself
2025-03-19 09:48:29 +01:00
akallabeth
d529675f70 [cmake,primitives] mark WITH_OPENCL unmaintained 2025-03-17 16:23:53 +01:00
akallabeth
fea9e1d33d [core,licensing] use dynamic logger 2025-03-17 10:52:54 +01:00
akallabeth
7b9b47555f [core,capabilties] use dynamic logger 2025-03-17 10:52:52 +01:00
akallabeth
f843cb7815 [core,nego] use dynamic logger 2025-03-17 10:48:48 +01:00
akallabeth
5b908fcd52 [core,mcs] use dynamic logger 2025-03-17 10:48:46 +01:00
akallabeth
9aa19cc5ce [core,tpkt] use dynamic logger 2025-03-17 10:48:36 +01:00
akallabeth
994898be4a [primitives,sse] remove sse2_yCbCrToRGB_16s16s_P3P3
The SSE implementation did not produce divergent results due to rounding
errors. Since the function is unused in the project itself remove it.
2025-03-16 20:18:58 +01:00
akallabeth
b0393e434e [primitives] unify writing YUV data as RGB pixel 2025-03-16 20:18:36 +01:00
akallabeth
83cb4f1c53 [primitives,yuv] refactor yuv420 to RGB
the routine did have some out of bound read issues, refactor to avoid
that.
2025-03-16 20:18:30 +01:00
akallabeth
40e67d2d44 [codec,h264] assert function pointer 2025-03-15 20:55:49 +01:00
akallabeth
b46b67271e [primitives] fix optimized setup
only initialize once to generic implementation and then try the
optimized versions
2025-03-15 20:55:26 +01:00
Martin Fleisz
75166df167 core: Set instance pointer after channel reload 2025-03-14 10:10:00 +01:00
akallabeth
41b6d85a8e [core,gateway] additional RTS checks 2025-03-13 15:15:48 +01:00
akallabeth
264e8e8ab2 [core,info] limit user and domain length to UNLEN 2025-03-13 11:53:26 +01:00
akallabeth
37b5fa6562 [codec,dsp] fix missing integer casts 2025-03-13 11:39:15 +01:00
akallabeth
3ecbb7120e [core,gateway] add rts parser checks
Add some additional checks to [MS-RPCH] command parsing
2025-03-13 11:24:31 +01:00
akallabeth
885d3aa56f [codec,region] fix noinline warning 2025-03-13 11:24:27 +01:00
akallabeth
7e461a0327 [codec,progressive] fix region cleanup 2025-03-13 08:45:42 +01:00
Armin Novak
64a7b665f6 [codec,region] code cleanup 2025-03-12 19:49:50 +01:00
Armin Novak
c79f080e8d [warnings] improve array bound checks 2025-03-12 15:04:38 +01:00
Armin Novak
8fb49b0abe [warnings] fix coverity warnings 2025-03-12 13:44:59 +01:00
Armin Novak
3e6707c443 [warnings] fix issues from ci builder 2025-03-12 12:02:04 +01:00
Armin Novak
9aecba9357 [core,gateway] add trace log for messages sent 2025-03-12 11:23:45 +01:00
akallabeth
7af2343477 [core,gateway] unify TSG_PACKET_MSG_RESPONSE 2025-03-12 11:09:33 +01:00
akallabeth
1a5ba989e8 [warnings] fixed integer casts 2025-03-11 17:23:58 +01:00
akallabeth
1fe0ca41e1 [warnings] fix missing integer casts 2025-03-11 13:20:19 +01:00
akallabeth
85fdbc3b71 [codec,progressive] clamp values instead of assert 2025-03-11 12:35:56 +01:00
akallabeth
c085b6fc4f [core,capabilities] use custom UUID compare 2025-03-11 12:35:54 +01:00
akallabeth
9310e2ebf8 [primitives] use int64_t instead of SSIZE_T as parameter
SSIZE_T is only guaranteed to have -1 defined.
2025-03-11 11:01:13 +01:00
akallabeth
3d9dcaece7 [out-of-bounds] fix oob reads 2025-03-11 09:37:11 +01:00
akallabeth
7e0e62c5ce [null-dereference] fix possible NULL dereference 2025-03-11 09:37:09 +01:00
akallabeth
a6c70383e9 [primitives] rename function pointer types
* Remove __ prefix, reserved identifiers
* Add drop in replacement for compatibility
* Clean up SSE macros
2025-03-10 22:34:33 +01:00
akallabeth
2b53807256 [primitives] fix warnings and restricted use 2025-03-10 22:13:46 +01:00