[openssl/openssl] 9bedeb: Fix missing null check in ossl_cmp_log_parse_metad...

Graham Woodward noreply at github.com
Fri Sep 30 20:48:32 UTC 2022


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: 9bedeb9a739cf2fb4bf25f9ce51b3e4aabde6ab4
      https://github.com/openssl/openssl/commit/9bedeb9a739cf2fb4bf25f9ce51b3e4aabde6ab4
  Author: Graham Woodward <graham.woodward at ibm.com>
  Date:   2022-09-30 (Fri, 30 Sep 2022)

  Changed paths:
    M crypto/cmp/cmp_util.c

  Log Message:
  -----------
  Fix missing null check in ossl_cmp_log_parse_metadata()

Don't add 1 if strchr returns NULL

Fixes #19279

Reviewed-by: David von Oheimb <david.von.oheimb at siemens.com>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19282)

(cherry picked from commit b85d53c1670e47273827bba508daff310c3263ab)




More information about the openssl-commits mailing list