Commit Graph

4093 Commits

Author SHA1 Message Date
akallabeth
897012052a Merge pull request #11491 from akallabeth/unwind-ignore
[winpr,utils] ignore _Unwind_Backtrace return
2025-04-11 08:26:18 +02:00
akallabeth
c97fb38a4f [winpr,utils] ignore _Unwind_Backtrace return
See https://github.com/FreeRDP/FreeRDP/issues/11490
there is no consensus on what the return value should be, so warn but
ignore it. The context might contain a NULL stack trace, but that is
better than not to show anything.
2025-04-11 08:17:01 +02:00
akallabeth
9cd3ffa843 Update timezone definitions 2025-04-11 05:06:20 +00:00
Armin Novak
6877cf5d25 [winpr,smartcard] PCSC_SCardGetAttrib support NULL buffer
In case of NULL buffer return success with required length
2025-04-09 10:21:59 +02:00
Armin Novak
462051dfec [winpr,smartcard] fix SCARD_ATTR_DEVICE_FRIENDLY_NAME_[AW]
* Include terminating '\0' in length
* Properly return SCARD_S_SUCCESS if only length is requested
2025-04-09 09:54:17 +02:00
akallabeth
5dc8d203f8 [winpr,smartcard] fix SCARD_ATTR_VENDOR_NAME length 2025-04-09 09:09:12 +02:00
David Fort
419f469583 kerberos: fix server-side user2user
In user to user mode the requested name is something like TERMSRV/<host>@<realm>,
but we can request a TGT only for <host>$@<realm> as it's the only account that
we have in our keytab that can do it. So this patch fix the research in the keytab, and
retrieves the TGT using <host>$@<realm> instead of TERMSRV/<host>@<realm>. That
fixes NLA server-side with kerberos users2user.
2025-03-31 23:03:15 +02:00
David Fort
9fd97beb23 ncrypt_pkcs11: remove verbose unneeded log 2025-03-31 11:15:52 +02:00
akallabeth
99619b3392 [warnings] fix stringlength checks 2025-03-26 20:08:13 +01:00
Armin Novak
050dd6f8af start 3.14.2-dev0 cycle 2025-03-25 11:53:47 +01:00
Armin Novak
4019dcd409 release 3.14.1 2025-03-25 11:53:45 +01:00
akallabeth
c06bf6ccb0 [warnings] fix format warnings 2025-03-24 21:23:10 +01:00
akallabeth
cd682e2c1b [winpr,file] create global instance for GetStdHandle 2025-03-20 17:03:06 +01:00
akallabeth
56432b902c [winpr,pipe] fix handle clean up
if pipe creation fails ensure all resources are cleaned up
2025-03-20 17:02:54 +01:00
akallabeth
e0175d1074 Merge pull request #11381 from akallabeth/code-cleanups2
abi-checker improvements
2025-03-20 09:31:37 +01:00
akallabeth
3491af4a2a [winpr,tools] add option WITH_WINPR_TOOLS_CLI
this allows building the winpr-tools library only without the cli tools
2025-03-20 09:15:28 +01:00
akallabeth
866d89992c [winpr,bitstream] remove unnecessary casts 2025-03-20 09:15:25 +01:00
akallabeth
34f6927c12 Merge pull request #11369 from akallabeth/sdl3-clip-png
Sdl3 clip png
2025-03-20 09:06:38 +01:00
Armin Novak
e4df43a37a [freerdp] fix argument consistency, casts 2025-03-19 19:32:09 +01:00
Armin Novak
b14f9e8965 [winpr] refactor complex expressions
* avoid unnecessary casts
2025-03-19 19:00:09 +01:00
akallabeth
32cc0f0927 [winpr,utils] fix PNG and BMP image creation
properly adjust for stride alignments
2025-03-19 12:49:10 +01:00
akallabeth
299d06c63c [winpr,clipboard] add image to html synthesizers 2025-03-19 12:49:09 +01:00
akallabeth
b53bff5541 [winpr,utils] add test image conversion utility
allows quick testing of image convertsions
2025-03-19 12:12:01 +01:00
akallabeth
253b2b71a2 [winpr,clipboard] add logging to Clipboard[GS]etData 2025-03-14 08:48:57 +01:00
akallabeth
beae583dbd [winpr,clipboard] fix image conversion routines
properly define guard the functions to be available for all combinations
of image formats (un)supported
2025-03-14 08:48:55 +01:00
akallabeth
da049b2f96 [winpr,registry] limit REG_SZ value length
Add a (sensible) upper limit for entries and add a warning should some
value be truncated
2025-03-13 12:18:49 +01:00
akallabeth
d42cdd656d [winpr,utils] limit debug string length 2025-03-13 11:47:14 +01:00
Armin Novak
fc92a25748 start 3.14.1-dev0 cycle 2025-03-13 09:09:27 +01:00
Armin Novak
cd0a17f860 release 3.14.0 2025-03-13 09:09:25 +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
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
0f8ed55027 [winpr,sync] use separate variable to read 2025-03-11 09:37:13 +01:00
akallabeth
3d9dcaece7 [out-of-bounds] fix oob reads 2025-03-11 09:37:11 +01:00
akallabeth
ca964f7c7d [mkstemp] set umask 2025-03-11 09:37:07 +01:00
Biswapriyo Nath
27e9c4f951 [winpr,nt] Fix incorrect name in FILE_INFORMATION_CLASS
This renames FileUnknownInformation1 with FileCompletionInformation which is documented in
https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/ne-wdm-_file_information_class
2025-03-09 08:54:44 +00:00
akallabeth
37b16a583d [winpr,smartcard] eliminate dead code 2025-03-07 09:25:17 +01:00
akallabeth
f11b343996 [winpr,comm] fix setting of SERIAL_EV_TXEMPTY 2025-03-06 15:30:28 +01:00
akallabeth
3186977e15 [cmake] Invert WITH_FREERDP_3x_DEPRECATED
API breaking change, with this logic the symbol needs to be manually
defined by an API user. So, to fix this:
* Rename to DROP_FREERDP_3x_DEPRECATED
* Invert logic, so a undefined value enables the symbols
2025-03-06 15:30:26 +01:00
akallabeth
c30fee9b78 start 3.13.1-dev0 cycle 2025-03-06 07:37:01 +01:00
akallabeth
544d586615 release 3.13.0 2025-03-06 07:36:59 +01:00
akallabeth
71bc44935a [winpr,bcrypt] declare WCHAR constants c99 compatible 2025-03-05 23:49:04 +01:00
akallabeth
42d210d133 [winpr,nt] Add FSInformationClass2Tag 2025-03-05 22:27:33 +01:00
Armin Novak
9f5a00edd8 [warnings] fix various warnings
* Log values ignored but with a defined value (previously unused)
* Fix missing define guards for deprected symbols in unit tests
2025-03-05 15:44:23 +01:00
Armin Novak
70c1750989 [winpr,comm] #ifdef comm ctl defines
Only add a comm ctl define to the switch if it is defined. Some defines
are platform specific, so only compile them when available.
2025-03-05 15:01:08 +01:00
akallabeth
d451be1358 Merge pull request #11253 from akallabeth/serial-term-fixes
Serial term fixes
2025-03-05 14:07:47 +01:00
akallabeth
7496f6e42c Merge pull request #11273 from akallabeth/cleanups
[client,x11] implement keyboard mapping
2025-03-05 14:07:12 +01:00
akallabeth
d765de8484 [warnings] eliminate dead code 2025-03-05 11:01:44 +01:00