[coverity] 1543271 Explicit null dereferenced
This commit is contained in:
parent
793145b8c5
commit
0a34b1e95d
@ -675,6 +675,9 @@ static SECURITY_STATUS SEC_ENTRY negotiate_InitializeSecurityContextW(
|
||||
if (!init_context.mech)
|
||||
{
|
||||
/* Use the output buffer to store the optimistic token */
|
||||
if (!output_buffer)
|
||||
goto cleanup;
|
||||
|
||||
CopyMemory(&output_token.mechToken, output_buffer, sizeof(SecBuffer));
|
||||
|
||||
if (bindings_buffer)
|
||||
|
Loading…
Reference in New Issue
Block a user