mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-17 11:00:59 -05:00
Missing initialisation in winsecur.c.
We might have returned true from getsids() by mistake, even if something had gone wrong. Thanks again, clang.
This commit is contained in:
@ -96,7 +96,7 @@ int getsids(char **error)
|
|||||||
{
|
{
|
||||||
SID_IDENTIFIER_AUTHORITY world_auth = SECURITY_WORLD_SID_AUTHORITY;
|
SID_IDENTIFIER_AUTHORITY world_auth = SECURITY_WORLD_SID_AUTHORITY;
|
||||||
SID_IDENTIFIER_AUTHORITY nt_auth = SECURITY_NT_AUTHORITY;
|
SID_IDENTIFIER_AUTHORITY nt_auth = SECURITY_NT_AUTHORITY;
|
||||||
int ret;
|
int ret = FALSE;
|
||||||
|
|
||||||
*error = NULL;
|
*error = NULL;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user