bn/asm/x86_64-mont5.pl: fix valgrind error.
authorAndy Polyakov <appro@openssl.org>
Wed, 20 May 2015 07:36:48 +0000 (09:36 +0200)
committerAndy Polyakov <appro@openssl.org>
Sun, 24 May 2015 19:30:39 +0000 (21:30 +0200)
commit69567687b0b7ed67831c17a010f4d46dfd059aef
tree7f05c579f23a4ee55c298e73e942b21495ad7a41
parent86e5d1e32b2d702a5fc777e612cd746e790098ef
bn/asm/x86_64-mont5.pl: fix valgrind error.

bn_get_bits5 was overstepping array boundary by 1 byte. It was exclusively
read overstep and data could not have been used. The only potential problem
would be if array happens to end on the very edge of last accesible page.

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/bn/asm/x86_64-mont5.pl