SSPI Bridge Bug

Jade Koskela jkoskeladev at gmail.com
Tue Sep 29 23:46:17 UTC 2020


Hi,

New contributor here. I have found a bug in sspi_bridge that requires a
small change to fix.
This causes failures to connect with Postgres JDBC using sspi_bridge.

This line in sspi_bridge
<https://hg.openjdk.java.net/jdk/jdk/file/ee1d592a9f53/src/java.security.jgss/windows/native/libsspi_bridge/sspi.cpp#l468>
should
be:

<             || l2 < l1 && l2 != l1) {
---
>             || l2 < l1 && l2 != r1) {

Thanks,
Jade
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20200929/f3ac0df4/attachment.htm>


More information about the security-dev mailing list