diff options
author | jsing <> | 2022-09-04 15:45:25 +0000 |
---|---|---|
committer | jsing <> | 2022-09-04 15:45:25 +0000 |
commit | 0dba8d0b642d3c82e3cd754e1bf070bf7605f174 (patch) | |
tree | ba2ba0d0fb3b66a11531af5f3a417e903e75a241 /src/regress/lib/libcrypto/asn1/rfc5280time.c | |
parent | 0ace47e359750ce9915e94dedcd1129b9d8017fe (diff) | |
download | openbsd-0dba8d0b642d3c82e3cd754e1bf070bf7605f174.tar.gz openbsd-0dba8d0b642d3c82e3cd754e1bf070bf7605f174.tar.bz2 openbsd-0dba8d0b642d3c82e3cd754e1bf070bf7605f174.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/regress/lib/libcrypto/asn1/rfc5280time.c')
0 files changed, 0 insertions, 0 deletions