RFR 8212165: JGSS: Fix cut/paste error in NativeUtil.c
Weijun Wang
weijun.wang at oracle.com
Mon Oct 15 02:32:13 UTC 2018
Hi All
Please take a review on a change in DEF_JNI_OnLoad of NativeUtil.c:
diff --git a/src/java.security.jgss/share/native/libj2gss/NativeUtil.c b/src/java.security.jgss/share/native/libj2gss/NativeUtil.c
--- a/src/java.security.jgss/share/native/libj2gss/NativeUtil.c
+++ b/src/java.security.jgss/share/native/libj2gss/NativeUtil.c
@@ -145,7 +145,7 @@
return JNI_ERR;
}
CLS_GSSNameElement = (*env)->NewGlobalRef(env, cls);
- if (CLS_GSSException == NULL) {
+ if (CLS_GSSNameElement == NULL) {
return JNI_ERR;
}
cls = (*env)->FindClass(env, "sun/security/jgss/wrapper/GSSCredElement");
The bug is reported and fixed by Viktor Dukhovni <viktor at twosigma.com>.
Thanks
Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20181015/58b82fae/attachment.htm>
More information about the security-dev
mailing list