[openssl/openssl] 414f66: Fix a crash in X509v3_asid_subset()

matt noreply at reply.github.openssl.org
Wed Jun 15 14:30:53 UTC 2022

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

  Changed paths:
    M crypto/x509/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