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 22:36:55 +0000 (23:36 +0100)
commit6555a8941bd6be5790d3b45c41de23234a8e527f
treeaf55eff2e0d2f9bafdd91fbfe249b288485fe739
parentd5e37fc871be6910db931790b70323c78b332dff
Fix memory overrun in rsa padding check functions

Backported from d7f5e5ae6d5

Fixes #8364 and #8357

Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/8438)
crypto/rsa/rsa_oaep.c
crypto/rsa/rsa_pk1.c
crypto/rsa/rsa_ssl.c