Commit Graph

19234 Commits

Author SHA1 Message Date
akallabeth
ba7fd06ec4
[coverity] fix some warnings
* mostly dead store and identical code branches.
* some possible integer overflows
2024-08-23 12:38:41 +02:00
akallabeth
3f5f53d3dc
Merge pull request #10501 from akallabeth/ci-autoclose
[ci,autoclose] increase operations per run
2024-08-23 11:15:35 +02:00
akallabeth
fb57a96eba [ci,autoclose] increase operations per run 2024-08-23 11:00:58 +02:00
David Fort
c7b519472b
Merge pull request #10494 from fifthdegree/asn1_int_fix
Fix ASN.1 integer decoding
2024-08-21 22:46:37 +02:00
Isaac Klein
3fb7bd92cc Don't accept 0-length ASN.1 integers for decoding 2024-08-21 14:02:26 -04:00
akallabeth
73b7401bbb
Merge pull request #10498 from akallabeth/solid-fill
Solid fill
2024-08-21 15:44:53 +02:00
Armin Novak
8f55f33951
[gdi,bitmap] initialize buffer solid black 2024-08-21 15:14:43 +02:00
Armin Novak
502640caca
[gdi,gfx] SolidFill always use alpha 0xff 2024-08-21 15:13:53 +02:00
akallabeth
20986e927f
Merge pull request #10496 from akallabeth/warn_fixes
Warn fixes
2024-08-21 10:19:28 +02:00
Armin Novak
17d44e847f
[coverity] fix various warnings 2024-08-21 09:47:34 +02:00
Armin Novak
fe76bafd57 [channels,drive] fix out of bound access 2024-08-21 09:20:25 +02:00
Isaac Klein
9c413abee1 Fix ASN.1 integer decoding
Treat ASN.1 encoded integers with a leading zero byte and the MSB of the
second byte set as non-negative
2024-08-20 19:14:02 -04:00
akallabeth
0fe5831187
Merge pull request #10491 from akallabeth/tcp_probe_addrinfo
[core,tcp] retry all DNS entries until success
2024-08-20 14:08:06 +02:00
akallabeth
79abff4329
Merge pull request #10492 from akallabeth/sdl-dialog-msg
[client,sdl] remove tab from dialog messages
2024-08-20 13:54:51 +02:00
akallabeth
37008506c2
[client,sdl] remove tab from dialog messages 2024-08-20 13:31:41 +02:00
akallabeth
7fe1164d26
Merge pull request #10490 from akallabeth/desktop-resize-deadlock
Desktop resize deadlock
2024-08-20 13:28:04 +02:00
akallabeth
1265498b1f
Merge pull request #10489 from akallabeth/verify-cert-improve
Verify cert improve
2024-08-20 13:13:57 +02:00
akallabeth
4286a4c164
[core,tcp] retry all DNS entries until success
When resolving some DNS name with getaddrinfo try all returned entries
matching the configuration (IPv4|IPv6|any) until the socket can be
connected. Fixes #5335
2024-08-20 13:10:12 +02:00
akallabeth
37f9d8a930
[client,wayland] improve VerifyCertificate message
* Use FreeRDP_CertificateCallbackPreferPEM for callbacks
2024-08-20 12:42:59 +02:00
akallabeth
d5d3d8501e
[client,x11] improve VerifyCertificate message
* Use FreeRDP_CertificateCallbackPreferPEM for callbacks
2024-08-20 12:42:57 +02:00
akallabeth
7ea8e63a39
[client,sample] improve VerifyCertificate message
* Use FreeRDP_CertificateCallbackPreferPEM for callbacks
2024-08-20 12:42:54 +02:00
akallabeth
39e8c077d4
[client,sdl] improve VerifyCertificate message
* Use FreeRDP_CertificateCallbackPreferPEM for callbacks
* Add notBefore and notAfter dates to callback messages
2024-08-20 12:42:51 +02:00
akallabeth
e95a813560
[client,common] unify PEM ceritificate string
* Unify PEM data extraction
* Add notBefore and notAfter dates to certificate callback messages
2024-08-20 12:42:49 +02:00
akallabeth
c2d30a07e9
[crypto,cert] add getter for notBefore and notAfter
Add getters for ceritificate dates notBefore and notAfter. Returns the
date as RFC822 string.
2024-08-20 12:42:46 +02:00
akallabeth
dcbeedb4d4
[client,x11] fix a possible deadlock on desktop resize 2024-08-20 12:41:17 +02:00
David Fort
ddde8f26e8
Merge pull request #10488 from akallabeth/gdi-resize
[core,update] ensure EndPaint before DesktopResize
2024-08-20 11:33:29 +02:00
akallabeth
63d87dcf18
[core,update] ensure EndPaint before DesktopResize
When DesktopResize is called EndPaint might not have been. Ensure the
update-lock is released and data flushed before resizing.
2024-08-20 09:54:56 +02:00
akallabeth
a863bc0bf4
Merge pull request #10485 from akallabeth/issue-close-modify
[ci,issue-close] extend period, add wip label
2024-08-19 13:29:22 +02:00
akallabeth
03794e4679
[ci,issue-close] extend period, add wip label 2024-08-19 13:04:06 +02:00
akallabeth
82835026d3
Merge pull request #10484 from akallabeth/clip_unit_test
Clip unit test
2024-08-19 12:06:16 +02:00
akallabeth
4b7727bd4e
[winpr,utils] fix PNG bpp extraction 2024-08-19 11:50:15 +02:00
akallabeth
7f84bd5c81
[winpr,utils] fix image stride calculation 2024-08-19 11:50:11 +02:00
akallabeth
7dfdadbe53
[winpr,clipboard] add image clipboard tests 2024-08-19 11:50:07 +02:00
akallabeth
bc4022eb3b
Merge pull request #10482 from akallabeth/issue-autoclose
[ci,issues] add workflow to autoclose stale issues
2024-08-16 15:01:39 +02:00
akallabeth
b80e33ff70
[ci,issues] add workflow to autoclose stale issues 2024-08-16 14:23:23 +02:00
Martin Fleisz
9f18768483
Merge pull request #10480 from akallabeth/ignore_empty_string_in_rdp_file
[client,common] ignore empty strings for channels
2024-08-14 15:33:49 +02:00
Armin Novak
1f95865907
[client,common] ignore empty strings for channels
Ignore empty strings when parsing redirection channel arguments
2024-08-14 14:31:58 +02:00
Martin Fleisz
8f5a20923c
Merge pull request #10477 from akallabeth/cliprdr_packet_format_list_new
[channels,cliprdr] refactor cliprdr_packet_format_list_new
2024-08-14 09:40:38 +02:00
akallabeth
1e19ccd76d
[channels,cliprdr] refactor cliprdr_packet_format_list_new
* Simplify function
* Add missing arguments for ASCII names
2024-08-14 09:19:51 +02:00
Martin Fleisz
92b547e91e
Merge pull request #10474 from akallabeth/accepted-key-fix
[crypto,tls] fix AcceptedKey checks
2024-08-14 08:47:10 +02:00
akallabeth
dac0ae4976
[crypto,cert] extend certificate store API
Use the certificate PEM without trustchain in the local trust store, but
keep the full PEM with chain for the user facing callbacks.
2024-08-13 15:56:08 +02:00
akallabeth
1f806f35db
Merge pull request #10476 from hardening/cliprdr_log_fix
cliprdr: fix message of error code log
2024-08-13 15:36:53 +02:00
David Fort
6e2cc358ba cliprdr: fix message of error code log 2024-08-13 15:08:30 +02:00
akallabeth
4523c4ec78
Merge pull request #10472 from akallabeth/clip-rdp-2-rdp-fix
Clip rdp 2 rdp fix
2024-08-13 08:27:35 +02:00
akallabeth
22fb6aad31
[crypto,tls] fix AcceptedKey checks
* Add freerdp_certificate_get_pem_ex to extract PEM for cert only
* Compare only certificate without certificate chain
* Store only certificate PEM without chain for later comparison
2024-08-13 07:40:07 +02:00
akallabeth
d4ecd16477
Merge pull request #10471 from hardening/sdl3_build
[sdl3] fix build against last SDL3
2024-08-12 16:10:25 +02:00
akallabeth
1dd9f32e76
Merge pull request #10470 from akallabeth/timzeone_generator_no_format
[winpr,timezone] disable clang-format for WindowsZones
2024-08-12 15:55:44 +02:00
Armin Novak
14c85bafd3
[client,x11] fix RAW clipboard copy 2024-08-12 15:55:26 +02:00
Armin Novak
83b253dc84
[channels,cliprdr] fix cliprdr_packet_format_list_new
* Fix length calculations
* Fix format name write, skip empty strings
2024-08-12 13:23:33 +02:00
David Fort
4e6f7fb989 [sdl3] fix build against last SDL3 2024-08-12 11:50:02 +02:00