crypto: fix missing nullptr check on RSA_new() · nodejs/node@a32a598 · GitHub
Skip to content

Commit a32a598

Browse files
ndosscheaduh95
authored andcommitted
crypto: fix missing nullptr check on RSA_new()
Not checking this can cause a null deref. Since there is already a null check at the bottom of the function with `NewRSA()`. PR-URL: #61888 Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent fce2930 commit a32a598

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

src/crypto/crypto_rsa.cc

Lines changed: 9 additions & 1 deletion

0 commit comments

Comments
 (0)