Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8253829: Wrong length compared in SSPI bridge
Reviewed-by: valeriep
  • Loading branch information
wangweij committed Sep 30, 2020
1 parent 9e453d9 commit e5ba020
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/java.security.jgss/windows/native/libsspi_bridge/sspi.cpp
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2019, 2020, 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 @@ -465,7 +465,7 @@ gss_compare_name(OM_uint32 *minor_status,
}

if (l1 < l2 && l1 != r2
|| l2 < l1 && l2 != l1) {
|| l2 < l1 && l2 != r1) {
return GSS_S_COMPLETE; // different
}

Expand Down

1 comment on commit e5ba020

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented on e5ba020 Sep 30, 2020

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.