diff options
author | 2014-06-10 11:40:22 +0000 | |
---|---|---|
committer | 2014-06-10 11:40:22 +0000 | |
commit | bf7ab58c344f68f6a4b16b8738420eb39014e4f8 (patch) | |
tree | 8bb78ef36ceb40ed8b9d77879db935499524aef6 /lib/libcrypto | |
parent | Multiple fixes for ssl3_digest_cached_records() - if EVP_MD_CTX_create() (diff) | |
download | wireguard-openbsd-bf7ab58c344f68f6a4b16b8738420eb39014e4f8.tar.xz wireguard-openbsd-bf7ab58c344f68f6a4b16b8738420eb39014e4f8.zip |
Avoid potential NULL pointer function calls in n_ssl3_mac() by checking
the return value of EVP_MD_CTX_copy_ex(). If the copy fails early then
EVP_DigestUpdate() will invoke md_ctx.update(), which will be a NULL
function pointer.
Analysis and patch from David Ramos.
ok deraadt@
Diffstat (limited to 'lib/libcrypto')
0 files changed, 0 insertions, 0 deletions