Commit bc2a881
committed
crypto: add null check to BIOPointer::New()
This function calls BIO_new() which mustn't receive a null pointer
argument. Yet it is able to handle null BIOs gracefully.
To solve this, add a null check.
Ref: nodejs/node#617881 parent c569580 commit bc2a881
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1515 | 1515 | | |
1516 | 1516 | | |
1517 | 1517 | | |
| 1518 | + | |
1518 | 1519 | | |
1519 | 1520 | | |
1520 | 1521 | | |
| |||
0 commit comments