changeset 9713:1ddc49aefb36

8048511: Uninitialised memory in jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c Reviewed-by: valeriep
author weijun
date Wed, 02 Jul 2014 09:48:32 +0800
parents 9d097b1143b5
children 3bfd63564978
files src/share/native/sun/security/jgss/wrapper/GSSLibStub.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c	Wed Feb 19 10:41:22 2014 +0800
+++ b/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c	Wed Jul 02 09:48:32 2014 +0800
@@ -600,7 +600,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;