On Wed, 30 Sep 2020 02:59:40 GMT, Weijun Wang <[email protected]> wrote:

> For two principals to be the same, they are either all "user@R", or one is 
> "user" and the other is "user@R". The check
> here wants to fail early if the length are different. "l" is the whole length 
> and "r" is the length of the name
> (without realm). The comparison should be reflective but there is a typo.  
> For example, for "user@R" and "user", l1 =
> 6, l2 = 4, r1 = 4, r2 = 4, the check will succeed and the names are treated 
> as different. This is not the expected
> behavior.  No regression test because we don't support SSPI testing in the 
> OpenJDK repo now.

This pull request has now been integrated.

Changeset: e5ba020e
Author:    Weijun Wang <[email protected]>
URL:       https://git.openjdk.java.net/jdk/commit/e5ba020e
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8253829: Wrong length compared in SSPI bridge

Reviewed-by: valeriep

-------------

PR: https://git.openjdk.java.net/jdk/pull/419

Reply via email to