[coverity] 1543134 Explicit null dereferenced

This commit is contained in:
akallabeth 2024-04-12 10:48:16 +02:00 committed by akallabeth
parent f264cc729c
commit c9850bb299

View File

@ -1135,6 +1135,7 @@ static SECURITY_STATUS SEC_ENTRY negotiate_AcceptSecurityContext(
return SEC_E_INVALID_TOKEN;
/* Use the output buffer to store the optimistic token */
if (output_buffer)
CopyMemory(&output_token.mechToken, output_buffer, sizeof(SecBuffer));
status = context->mech->pkg->table->AcceptSecurityContext(