Skip to content
Permalink
Browse files
8253829: Wrong length compared in SSPI bridge
Reviewed-by: valeriep
  • Loading branch information
wangweij committed Sep 30, 2020
1 parent 9e453d9 commit e5ba020ee9212a61004cf41492fc96518139f7ae
Showing 1 changed file with 2 additions and 2 deletions.
@@ -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
@@ -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
}

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.