8048511: Uninitialised memory in jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c
authorweijun
Wed, 02 Jul 2014 09:48:32 +0800
changeset 25216 291541db1e11
parent 25215 b42d1919caec
child 25217 2d687ea8608a
8048511: Uninitialised memory in jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c Reviewed-by: valeriep
jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c
--- a/jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c	Tue Jul 01 23:09:52 2014 +0000
+++ b/jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c	Wed Jul 02 09:48:32 2014 +0800
@@ -639,7 +639,7 @@
  */
 void inquireCred(JNIEnv *env, jobject jobj, gss_cred_id_t pCred,
                  jint type, void *result) {
-  OM_uint32 minor, major=0;
+  OM_uint32 minor=0, major=0;
   OM_uint32 routineErr;
   gss_cred_id_t credHdl;