Fix memory overrun in rsa padding check functions
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Thu, 28 Feb 2019 09:08:18 +0000 (10:08 +0100)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Thu, 7 Mar 2019 21:52:20 +0000 (22:52 +0100)
commitf61c68043d3bd2ad9718d356e7988ee2fdfc3621
treeef2473286a100e3132c911eda1d47f15bcc61b6e
parent35eecd173ea2baefdfa53e00e60cd0ba170250fe
Fix memory overrun in rsa padding check functions

Fixes #8364 and #8357

Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/8365)

(cherry picked from commit d7f5e5ae6d53f1387a42d210806cf5e9ed0882d6)
crypto/rsa/rsa_oaep.c
crypto/rsa/rsa_pk1.c
crypto/rsa/rsa_ssl.c