]> git.ipfire.org Git - thirdparty/curl.git/commit
crypto: ensure crypto initialization works
authorDaniel Gustafsson <daniel@yesql.se>
Fri, 10 Mar 2023 09:01:44 +0000 (10:01 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 8 Aug 2023 08:44:01 +0000 (10:44 +0200)
commit22eb9893bc8fa8dea874b0cad64fdca835e19a16
tree64588f0afc0d2c8c53cd41aa0fcaaa3a91566c3a
parentbec0c5bbf34369920598678161d2df8bea0e243b
crypto: ensure crypto initialization works

Make sure that context initialization during hash setup works to avoid
going forward with the risk of a null pointer dereference.

Reported-by: Philippe Antoine on HackerOne
Assisted-by: Jay Satiro
Assisted-by: Daniel Stenberg
Closes #11614
lib/curl_md4.h
lib/curl_ntlm_core.c
lib/md4.c
lib/md5.c
lib/sha256.c
lib/vtls/openssl.c
lib/vtls/wolfssl.c