Skip to content

Commit

Permalink
Fixes segfault occurrence in PEM_write()
Browse files Browse the repository at this point in the history
Checks if header is NULL or not before calling strlen().

CLA: trivial

Fixes #18825

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from openssl/openssl#18865)
  • Loading branch information
valdaarhun authored and JeffroMF committed Jul 31, 2022
1 parent 1d5e76d commit 51997f7
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 51997f7

Please sign in to comment.