diff options
author | Matt Caswell <matt@openssl.org> | 2021-08-13 16:58:21 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2021-08-24 13:24:36 +0100 |
commit | 515ac8b5e544dd713a2b4cabfc54b722d122c218 (patch) | |
tree | 6d53d854034df3631552e0356b0a9d3c181fe802 /crypto/bio/b_addr.c | |
parent | 733fa41c3fc4bcac37f94aa917f7242420f8a5a6 (diff) |
Check the plaintext buffer is large enough when decrypting SM2
Previously there was no check that the supplied buffer was large enough.
It was just assumed to be sufficient. Instead we should check and fail if
not.
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Diffstat (limited to 'crypto/bio/b_addr.c')
0 files changed, 0 insertions, 0 deletions