Fix a read off the end of the input buffer
authorRich Salz <rsalz@openssl.org>
Thu, 8 Jun 2017 20:05:52 +0000 (16:05 -0400)
committerRich Salz <rsalz@openssl.org>
Thu, 8 Jun 2017 20:13:20 +0000 (16:13 -0400)
commite1c6205c23297feb932727944ffba87be869d83a
tree6336d9f00b5d339e6c4cf5f367b953ff61b7b64a
parent0c5c64115072a77dc257bf0bcb85d47f177fdca4
Fix a read off the end of the input buffer

when building with OPENSSL_SMALL_FOOTPRINT defined.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3533)

(cherry picked from commit 0b20ad127ce86b05a854f31d51d91312c86ccc74)
crypto/whrlpool/wp_dgst.c