diff options
author | jsing <> | 2014-06-10 11:40:22 +0000 |
---|---|---|
committer | jsing <> | 2014-06-10 11:40:22 +0000 |
commit | 8d9007607f4ff6509cc1aa974ff5abee8197e4cb (patch) | |
tree | 530cd52603b6af5c3e22b15811390dd5b480011f /src/lib/libcrypto/evp/m_null.c | |
parent | 120092c80815c9fc85a2cdb032c540607898cfc5 (diff) | |
download | openbsd-8d9007607f4ff6509cc1aa974ff5abee8197e4cb.tar.gz openbsd-8d9007607f4ff6509cc1aa974ff5abee8197e4cb.tar.bz2 openbsd-8d9007607f4ff6509cc1aa974ff5abee8197e4cb.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 'src/lib/libcrypto/evp/m_null.c')
0 files changed, 0 insertions, 0 deletions