FreeRDP/winpr/libwinpr
Martin Fleisz b45f580055 sspi: Do not call copy on empty strings
It might happen that the username/domain/password strings are set to an
empty string. This means that the null pointer check will pass but the
application will assert in the copy helper function.

This fix simple checks the length of the identity strings and only calls
copy in case the length is greater than 0.
2022-10-11 12:15:47 +02:00
..
bcrypt Refactored WinPR includes 2022-03-03 11:26:48 +01:00
clipboard Fixed format strings to match arguments (#8254) 2022-09-29 14:55:27 +02:00
comm Fixed -Wdocumentation errors 2022-04-28 11:24:51 +02:00
crt Fixed #8090: Duplicate definition of strndup (#8102) 2022-08-02 09:15:38 +02:00
crypto Fix building with LibreSSL 2.7.0 or newer 2022-06-27 12:42:06 +02:00
dsparse Refactored WinPR includes 2022-03-03 11:26:48 +01:00
environment reformatted 2022-06-23 08:48:39 +02:00
error winpr: rework alignment functions 2022-05-12 11:36:01 +02:00
file WinPR::Clipboard: Refactor synthetic file 2022-09-26 14:01:20 +02:00
handle Replaced WINPR_HANDLE_DEF with a struct type 2022-04-28 08:42:09 +02:00
input Fix #7793: Do not expose internal input API (#7794) 2022-04-13 09:34:05 +02:00
interlocked reformatted 2022-06-23 08:48:39 +02:00
io Refactored WinPR includes 2022-03-03 11:26:48 +01:00
library Refactored WinPR includes 2022-03-03 11:26:48 +01:00
memory Refactored WinPR includes 2022-03-03 11:26:48 +01:00
ncrypt ncrypt_pkcs11: enumerate keys by public keys 2022-07-21 18:38:36 +02:00
nt Fixed cast-quality warnings 2022-04-28 09:17:20 +02:00
path Fixed argument mismatch 2022-05-03 11:48:20 +02:00
pipe Fixed format strings to match arguments (#8254) 2022-09-29 14:55:27 +02:00
pool winpr: rework alignment functions 2022-05-12 11:36:01 +02:00
registry reformatted 2022-06-23 08:48:39 +02:00
rpc Settings getter tests (#7869) 2022-05-02 11:39:38 +02:00
security Replaced WINPR_HANDLE_DEF with a struct type 2022-04-28 08:42:09 +02:00
shell Replaced WINPR_HANDLE_DEF with a struct type 2022-04-28 08:42:09 +02:00
smartcard reformatted 2022-06-23 08:48:39 +02:00
sspi sspi: Do not call copy on empty strings 2022-10-11 12:15:47 +02:00
sspicli Fix return of getlogin() 2022-06-02 13:57:09 +02:00
synch Fixed format strings to match arguments (#8254) 2022-09-29 14:55:27 +02:00
sysinfo Refactored WinPR includes 2022-03-03 11:26:48 +01:00
thread More winpr fixes (#8255) 2022-09-28 16:07:04 +02:00
timezone Fixed format strings to match arguments (#8254) 2022-09-29 14:55:27 +02:00
utils Use Stream_StaticInit for bitmap read 2022-10-10 15:29:45 +02:00
winsock feat(emscripten): add support for emscripten compilation 2022-09-15 10:23:43 +02:00
wtsapi reformatted 2022-06-23 08:48:39 +02:00
CMakeLists.txt Disable LTO on apple devices 2022-06-03 08:51:40 +02:00
dummy.c
log.h Fixed compilation warnings and typos 2021-06-16 15:21:56 +02:00