8253829: Wrong length compared in SSPI bridge

Reviewed-by: valeriep
This commit is contained in:
Weijun Wang 2020-09-30 17:13:47 +00:00
parent 9e453d9792
commit e5ba020ee9

View file

@ -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
}