8048511: Uninitialised memory in jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c
Reviewed-by: valeriep
--- 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;