[openssl/openssl] 01fc9b: Fix a crash in X509v3_asid_subset()

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

  Branch: refs/heads/master
  Home:   https://github.openssl.org/openssl/openssl
  Commit: 01fc9b6bce82f0534d6673659a0e59a71f57ee82
  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)

More information about the openssl-commits mailing list