Commit a32a598
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 <[email protected]>1 parent fce2930 commit a32a598
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
388 | 393 | | |
389 | 394 | | |
390 | 395 | | |
| |||
435 | 440 | | |
436 | 441 | | |
437 | 442 | | |
438 | | - | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
439 | 447 | | |
440 | 448 | | |
441 | 449 | | |
| |||
0 commit comments