[openssl/openssl] 205957: Fixes segfault occurrence in PEM_write()

Sahil Siddiq noreply at github.com
Fri Jul 29 02:41:01 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 205957405d08ef199e6ab654e333a627bbca9ccc
      https://github.com/openssl/openssl/commit/205957405d08ef199e6ab654e333a627bbca9ccc
  Author: valdaarhun <icegambit91 at gmail.com>
  Date:   2022-07-29 (Fri, 29 Jul 2022)

  Changed paths:
    M crypto/pem/pem_lib.c

  Log Message:
  -----------
  Fixes segfault occurrence in PEM_write()

Checks if header is NULL or not before calling strlen().

CLA: trivial

Fixes #18825

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Ben Kaduk <kaduk at mit.edu>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18865)




More information about the openssl-commits mailing list