changeset 10065:c2969f4cd5e4

8040812: Uninitialised memory in jdk/src/share/native/sun/security/ec/impl/mpi.c Reviewed-by: mullan
author vinnie
date Tue, 10 Jun 2014 15:49:53 +0100
parents 56b7e029b7b6
children 11d618c585c0
files src/share/native/sun/security/ec/impl/mpi.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/native/sun/security/ec/impl/mpi.c	Mon Jun 09 15:40:40 2014 +0400
+++ b/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;