8040812: Uninitialised memory in jdk/src/share/native/sun/security/ec/impl/mpi.c
authorvinnie
Tue, 10 Jun 2014 15:49:53 +0100
changeset 24861 3377edc1a02d
parent 24860 41b07c1952f4
child 24862 9d0d8cc7c348
8040812: Uninitialised memory in jdk/src/share/native/sun/security/ec/impl/mpi.c Reviewed-by: mullan
jdk/src/share/native/sun/security/ec/impl/mpi.c
--- a/jdk/src/share/native/sun/security/ec/impl/mpi.c	Mon Jun 09 15:40:40 2014 +0400
+++ b/jdk/src/share/native/sun/security/ec/impl/mpi.c	Tue Jun 10 15:49:53 2014 +0100
@@ -3376,7 +3376,7 @@
 #if !defined(MP_NO_MP_WORD) && !defined(MP_NO_DIV_WORD)
   mp_word   w = 0, q;
 #else
-  mp_digit  w, q;
+  mp_digit  w = 0, q;
 #endif
   int       ix;
   mp_err    res;