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 <anna@addaleax.net>1 parent fce2930 commit a32a598Copy full SHA for a32a598
1 file changed
+9-1Lines changed: 9 additions & 1 deletion
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/crypto
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+9-1Lines changed: 9 additions & 1 deletion
| 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