diff options
author | tb <> | 2024-01-01 18:33:04 +0000 |
---|---|---|
committer | tb <> | 2024-01-01 18:33:04 +0000 |
commit | 23a8a257fa7066fafd85ae4c43b6a88cbf37a9c7 (patch) | |
tree | 425ef6fa1a717909769f40672bb3331213c27771 /src/lib/libcrypto/evp/evp_cipher.c | |
parent | 2e6798d72aacc305984338a9148dfe2ea6f1611f (diff) | |
download | openbsd-23a8a257fa7066fafd85ae4c43b6a88cbf37a9c7.tar.gz openbsd-23a8a257fa7066fafd85ae4c43b6a88cbf37a9c7.tar.bz2 openbsd-23a8a257fa7066fafd85ae4c43b6a88cbf37a9c7.zip |
Fix bounds check in EVP_PKEY_CTX_get_keygen_info()
Replace > with >= for the upper array bound to disallow a 4 byte
overread. For RSA you can read the padding mode and for DH past
the DH_PKEY_CTX. Unfortunately, Ruby thought it important to use
this, so we can't kill it easily.
ok miod
Diffstat (limited to 'src/lib/libcrypto/evp/evp_cipher.c')
0 files changed, 0 insertions, 0 deletions