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 Aug 3, 2022
1 parent be23075 commit a76b68e
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit a76b68e

Please sign in to comment.