Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Mar 2016 03:57:37 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r296597 - stable/9/crypto/openssl/crypto/bn
Message-ID:  <201603100357.u2A3vbB0088686@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Thu Mar 10 03:57:37 2016
New Revision: 296597
URL: https://svnweb.freebsd.org/changeset/base/296597

Log:
  Fix a regression introduced in r296462 that causes out-of-bound access in
  the BN code and have slipped my review.
  
  PR:		207783
  Submitted by:	dim

Modified:
  stable/9/crypto/openssl/crypto/bn/bn_exp.c

Modified: stable/9/crypto/openssl/crypto/bn/bn_exp.c
==============================================================================
--- stable/9/crypto/openssl/crypto/bn/bn_exp.c	Thu Mar 10 02:43:10 2016	(r296596)
+++ stable/9/crypto/openssl/crypto/bn/bn_exp.c	Thu Mar 10 03:57:37 2016	(r296597)
@@ -758,7 +758,7 @@ int BN_mod_exp_mont_consttime(BIGNUM *rr
          * Fetch the appropriate pre-computed value from the pre-buf
          */
         if (!MOD_EXP_CTIME_COPY_FROM_PREBUF
-            (computeTemp, top, powerbuf, wvalue, numPowers))
+            (computeTemp, top, powerbuf, wvalue, window))
             goto err;
 
         /* Multiply the result into the intermediate result */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603100357.u2A3vbB0088686>