akallabeth
7c8c14294f
[return checks] fix use of ReleaseMutex
2024-09-16 06:48:06 +02:00
akallabeth
7d67b8e204
[return checks] fix use of SetEvent
2024-09-16 06:47:58 +02:00
akallabeth
80e0c68dca
Merge pull request #10608 from akallabeth/warn
...
Warnings fix apple related stuff
2024-09-15 20:39:38 +02:00
akallabeth
0d5bc92a2b
[warnings] fix apple iOS/macos
2024-09-15 19:47:13 +02:00
akallabeth
869bfd5e86
[client,android] mark includes SYSTEM
2024-09-15 19:47:03 +02:00
akallabeth
039e24bf48
Merge pull request #10607 from akallabeth/warn
...
Warnings fixed
2024-09-15 10:43:54 +02:00
akallabeth
0de75b305c
[warnings] fix unchecked return
2024-09-15 10:19:56 +02:00
akallabeth
1bd6d70057
[warnings] fix some warnings on mac os
2024-09-15 10:06:22 +02:00
akallabeth
a4a7019f97
[channels,rdpdr] fix uninitialized warnings
2024-09-15 09:58:41 +02:00
akallabeth
f7726ed7b6
[server,shadow] improve command line error logging
...
print an error message indicating where the parsing failed.
2024-09-15 09:21:38 +02:00
akallabeth
ba41d5e532
[warnings] fix unchecked return
2024-09-15 09:08:02 +02:00
akallabeth
687f946999
[channels,rdpear] fix length checks for 32bit size_t
2024-09-15 09:07:53 +02:00
akallabeth
f1be630637
[server,proxy] fix unchecked return
2024-09-15 09:07:49 +02:00
akallabeth
8a3f2be769
[rdtk] improve rdtk_font_load_descriptor_file
...
do simpler and better error handling
2024-09-15 09:07:38 +02:00
akallabeth
ca1791cfe8
Merge pull request #10606 from akallabeth/warn-fix
...
Warn fix
2024-09-14 21:44:34 +02:00
akallabeth
8b6091a007
[winpr,wtsapi] improve API usage
...
* Mark WTSVirtualChannelOpen and WTSVirtualChannelOpenEx with
WINPR_ATTR_MALLOC to enforce compiler checks for resource cleanup
* Fix unused result warnings, use the result or cast to (void) where not
requierd
2024-09-14 21:29:31 +02:00
akallabeth
a1cef8dd85
[warnings] silence and fix unused results
2024-09-14 21:29:28 +02:00
akallabeth
65de25205b
[winpr,env] add missing WINPR_ATTR_MALLOC
2024-09-14 21:29:26 +02:00
akallabeth
9cfd748b63
[core,nla] nla_read_TSRemoteGuardPackageCred
...
* fix maybe uninitialized arguments
* fix return in case of invalid packet
2024-09-14 21:29:24 +02:00
akallabeth
3460f64f57
[client,common] fix possible NULL dereference
2024-09-14 21:29:21 +02:00
akallabeth
2bcf2c50eb
[channels,rdpear] fix krb5 inclusion
...
* do not expose the krb5 include path in interface library, it is
private to the object library
* fix include krb5.h instead of krb5/krb5.h
2024-09-14 21:29:18 +02:00
akallabeth
6327b77461
[winpr,crypto] fix type warnings in test case
2024-09-14 17:39:38 +02:00
akallabeth
7295f8a3b8
Merge pull request #10601 from akallabeth/warn-fix
...
[warnings] fix a bunch of them
2024-09-14 12:21:36 +02:00
akallabeth
0b9d35235b
[channels,rdpear] fix leak in rdpear_prepare_response
2024-09-14 08:31:29 +02:00
akallabeth
dbe92795e3
[winpr,kerberos] fix possible NULL argument to strdup
2024-09-14 08:31:01 +02:00
akallabeth
d5b41bb8a0
[warnings] fix casts
...
* Add macro WINPR_REINTERPRET_CAST to cast (checked) from type A to B
* Fix cast warnings
2024-09-14 08:24:51 +02:00
akallabeth
01c6447963
[clang-tidy] disable clang-analyzer-optin.performance.Padding
...
this is not a bug but a performance suggestion test. We don´t want these
mixed in with actual issues
2024-09-14 08:24:48 +02:00
akallabeth
5a711f5ae4
[winpr,collections] fix cast to float
2024-09-14 08:24:45 +02:00
akallabeth
d7f6cf90b4
[core,nla] add missing static for function
2024-09-14 08:24:43 +02:00
akallabeth
5f2ed9b8ce
[crypto,tls] explicitly cast function pointer
2024-09-14 08:24:40 +02:00
akallabeth
f0a73e3e9c
[channels,rdpear] fix inconsistencies in ndr.c/h
2024-09-14 08:24:38 +02:00
akallabeth
1c161b0270
[channels,rdpear] elimiate warnings
2024-09-14 08:24:35 +02:00
akallabeth
70b597ce1e
[utils,passphrase] fix unused result warning
2024-09-14 08:24:32 +02:00
akallabeth
71080e61b0
[warnings] fix a bunch of them
...
* fix uninitialized variable warnings
* modivy ndr_context_* functions to utilize WINPR_ATTR_MALLOC
* build_krbtgt use winpr_asprintf
* add proper Stream_Write_UINT64_BE
2024-09-14 08:24:28 +02:00
akallabeth
3895cf9fd3
Merge pull request #10603 from akallabeth/strtok-replace
...
[strtok] replace function with strtok_s
2024-09-13 21:31:54 +02:00
akallabeth
16cec716e0
[strtok] replace function with strtok_s
...
Since strtok is not thread safe replace it with strtok_s (WinPR wrapper
around strtok_r for systems not supporting the ISO function names)
2024-09-13 21:19:17 +02:00
akallabeth
f1cddd78f9
Merge pull request #10602 from akallabeth/reserved-fix
...
[winpr,include] fix reserved-identifier warnings
2024-09-13 16:42:30 +02:00
akallabeth
d2641ea55f
[winpr,include] fix reserved-identifier warnings
...
* Remove symbols where possible
* Use #pragma where the symbols are implementing ISO or windows
functions
2024-09-13 14:30:33 +02:00
akallabeth
7ef9345743
Merge pull request #10549 from hardening/rcg2
...
core, channels: client-side remote credential guard
2024-09-13 08:24:14 +02:00
akallabeth
166441c4ee
Merge pull request #10599 from akallabeth/more-docs
...
More docs
2024-09-12 22:15:26 +02:00
akallabeth
163aec7e2b
[warnings] fix documentation command unknown
2024-09-12 21:21:41 +02:00
akallabeth
afff514ca7
[compiler] add WINPR_ATTR_MALLOC
...
Add WINPR_ATTR_MALLOC checks to allocating functions to help compilers
find memory leaks or allocation mismatches
2024-09-12 20:09:22 +02:00
akallabeth
fb5934007a
[doxygen] add basic documentation for new API
...
* Add basic documentation for new functions/structs/data types since
3.0.0
2024-09-12 20:09:19 +02:00
akallabeth
98f22d49b9
[CMake] add public headers as INTERFACE target
2024-09-12 18:54:40 +02:00
akallabeth
aa72746cda
Merge pull request #10597 from akallabeth/some-more-warnings
...
Some more warnings
2024-09-12 17:11:41 +02:00
akallabeth
c84655cd62
[warnings] remove const params
...
Avoid const TYPE* const type declarations
2024-09-12 14:29:25 +02:00
akallabeth
a1a1fc8658
[warnings] fix mismatches between declaration and implementation
2024-09-12 13:32:44 +02:00
akallabeth
7ebefc505f
[warnings] fix some msbuild warnings
2024-09-12 13:32:41 +02:00
akallabeth
b29c141c39
[client,cmdline] fix COMMAND_LINE_ARGUMENT_A arguments
...
* The project expects COMMAND_LINE_ARGUMENT_A arguments, so fix
COMMAND_LINE_ARGUMENT macro usage. (affects windows API)
2024-09-12 13:30:10 +02:00
akallabeth
f74fd1ab0f
[warnings] silence unused macro warnings
...
* Add WINPR_PRAGMA_DIAG_IGNORED_UNUSED_MACRO
* Silence usages that
2024-09-12 13:30:08 +02:00