diff options
author | jsing <> | 2022-09-04 15:45:25 +0000 |
---|---|---|
committer | jsing <> | 2022-09-04 15:45:25 +0000 |
commit | 8869e441d0c3b744fcf47865bc3a28770c66b2b5 (patch) | |
tree | ba2ba0d0fb3b66a11531af5f3a417e903e75a241 /src/lib/libssl/ssl_lib.c | |
parent | afccb5e2841d2ce1fd4c50eb9e9912ec24e8a941 (diff) | |
download | openbsd-8869e441d0c3b744fcf47865bc3a28770c66b2b5.tar.gz openbsd-8869e441d0c3b744fcf47865bc3a28770c66b2b5.tar.bz2 openbsd-8869e441d0c3b744fcf47865bc3a28770c66b2b5.zip |
Add bounds checks for various EVP cipher implementations.
The EVP cipher API uses size_t, however a number of the underlying
implementations use long in their API. This means that an input with
size > LONG_MAX will go negative.
Found by Coverity, hiding under a large pile of macros.
ok tb@
Diffstat (limited to 'src/lib/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions