[openssl/openssl] 8f0788: Fix a crash in X509v3_asid_subset()

matt noreply at reply.github.openssl.org
Wed Jun 15 14:44:23 UTC 2022

  Branch: refs/heads/OpenSSL_1_1_1-stable
  Home:   https://github.openssl.org/openssl/openssl
  Commit: 8f078819556da83c15751678c39558a59bc746fc
  Author: Matt Caswell <matt at openssl.org>
  Date:   2022-06-15 (Wed, 15 Jun 2022)

  Changed paths:
    M crypto/x509v3/v3_asid.c
    M test/v3ext.c

  Log Message:
  Fix a crash in X509v3_asid_subset()

If the asnum or rdi fields are NULL and the ASIdentifiers are otherwise
subsets then this will result in a crash. Of note is that rdi will usually
be NULL.

Reported by Theo Buehler (@botovq)

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Yang <kaishen.yy at antfin.com>
Reviewed-by: Todd Short <todd.short at me.com>
(Merged from https://github.com/openssl/openssl/pull/18514)

(cherry picked from commit 01fc9b6bce82f0534d6673659a0e59a71f57ee82)

More information about the openssl-commits mailing list