Commit fb38a1c
[ruby/openssl] pkey: fix memory leak when derived key is too large
Unlikely to happen in practice, but mirrors other similar checks that
also free the context.
ruby/openssl@fd28a165191 parent 11e3c78 commit fb38a1c
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1496 | 1496 | | |
1497 | 1497 | | |
1498 | 1498 | | |
1499 | | - | |
| 1499 | + | |
| 1500 | + | |
1500 | 1501 | | |
| 1502 | + | |
1501 | 1503 | | |
1502 | 1504 | | |
1503 | 1505 | | |
| |||
0 commit comments