Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: 205957405d08ef199e6ab654e333a627bbca9ccc
https://github.com/openssl/openssl/commit/205957405d08ef199e6ab654e333a627bbca9ccc
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)