FreeRDP/winpr/libwinpr/sspi
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
..
CredSSP winpr: add some checks in InitializeSecurityContext and AcceptSecurityContext 2022-10-10 09:01:04 +02:00
Kerberos winpr: add some checks in InitializeSecurityContext and AcceptSecurityContext 2022-10-10 09:01:04 +02:00
Negotiate winpr: add some checks in InitializeSecurityContext and AcceptSecurityContext 2022-10-10 09:01:04 +02:00
NTLM winpr: add some checks in InitializeSecurityContext and AcceptSecurityContext 2022-10-10 09:01:04 +02:00
Schannel winpr: add some checks in InitializeSecurityContext and AcceptSecurityContext 2022-10-10 09:01:04 +02:00
test reformatted 2022-06-23 08:48:39 +02:00
CMakeLists.txt Fixed integer warnings 2021-06-18 09:41:02 +02:00
ModuleOptions.cmake libwinpr: add module definition files 2012-09-21 13:02:54 -04:00
sspi_export.c run clang-format 2022-09-30 19:33:12 +02:00
sspi_gss.c Kerberos User 2 User support (#8070) 2022-08-17 12:25:26 +02:00
sspi_gss.h Kerberos User 2 User support (#8070) 2022-08-17 12:25:26 +02:00
sspi_winpr.c sspi: Do not call copy on empty strings 2022-10-11 12:15:47 +02:00
sspi_winpr.h libwinpr-sspi: make native sspi option dynamic 2014-06-06 15:34:12 -04:00
sspi.c Unified sspi_FreeAuthIdentity 2022-03-28 15:52:59 +02:00
sspi.h add SetCredentialsAttribute to SecurityFunctionTable 2022-09-30 19:33:12 +02:00