Skip to content

Commit

Permalink
8280401: [sspi] gss_accept_sec_context leaves output_token uninitialized
Browse files Browse the repository at this point in the history
Backport-of: 6352c020c25f2701afb4fabee0cc7fcef2d407fb
  • Loading branch information
GoeLin committed Jan 4, 2023
1 parent d8450ef commit 52737cd
Showing 1 changed file with 5 additions and 1 deletion.
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2019, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -1035,6 +1035,10 @@ gss_accept_sec_context(OM_uint32 *minor_status,
{
PP(">>>> Calling UNIMPLEMENTED gss_accept_sec_context...");
PP("gss_accept_sec_context is not supported in this initiator-only library");
if (output_token) {
output_token->length = 0;
output_token->value = NULL;
}
return GSS_S_FAILURE;
}

Expand Down

1 comment on commit 52737cd

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.