mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00: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:
parent
8923a1b488
commit
7acc0a2aa1
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user