summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/evp_cipher.c
diff options
context:
space:
mode:
authortb <>2024-01-01 18:33:04 +0000
committertb <>2024-01-01 18:33:04 +0000
commit23a8a257fa7066fafd85ae4c43b6a88cbf37a9c7 (patch)
tree425ef6fa1a717909769f40672bb3331213c27771 /src/lib/libcrypto/evp/evp_cipher.c
parent2e6798d72aacc305984338a9148dfe2ea6f1611f (diff)
downloadopenbsd-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