]> git.ipfire.org Git - thirdparty/openssl.git/commit
Avoid premature short-circuit in check_email
authorViktor Dukhovni <openssl-users@dukhovni.org>
Mon, 16 Mar 2026 08:30:04 +0000 (19:30 +1100)
committerTomas Mraz <tomas@openssl.foundation>
Tue, 17 Mar 2026 15:35:06 +0000 (16:35 +0100)
commit6f9a0f3bcdf8f7c8b3d6a7dfb100788a8726905e
tree108903e8bcacef0876b76a7bfc509d0c576aa54e
parentce8a248f0a6bef597be2d2ee2980aaf1451ff310
Avoid premature short-circuit in check_email

- Also harden check_hosts() to handle NULL `vpm->hosts`,
  currently checked by the caller.

- Also harden check_ips() to handle NULL `vpm->ips`,
  currently checked by the caller.

Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
MergeDate: Tue Mar 17 15:35:16 2026
(Merged from https://github.com/openssl/openssl/pull/30444)
crypto/x509/x509_vfy.c