Branch: refs/heads/OpenSSL_1_1_1-stable
Home: https://github.openssl.org/openssl/openssl
Commit: 3b9082c844913d3a0efada9fac0bd2924ce1a8f2
https://github.openssl.org/openssl/openssl/commit/3b9082c844913d3a0efada9fac0bd2924ce1a8f2
Author: valdaarhun <[email protected]>
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 <[email protected]>
Reviewed-by: Ben Kaduk <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
(Merged from https://github.com/openssl/openssl/pull/18865)
(cherry picked from commit 205957405d08ef199e6ab654e333a627bbca9ccc)