summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authorjsing <>2022-09-04 15:45:25 +0000
committerjsing <>2022-09-04 15:45:25 +0000
commit8869e441d0c3b744fcf47865bc3a28770c66b2b5 (patch)
treeba2ba0d0fb3b66a11531af5f3a417e903e75a241 /src/lib/libssl/ssl_lib.c
parentafccb5e2841d2ce1fd4c50eb9e9912ec24e8a941 (diff)
downloadopenbsd-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