Repository navigation
Commit 3beccbe
gh-159739: Release SSL resources on error paths (GH-159745)
Free decoded subject alternative names when certificate conversion
fails, and close the key log file if the BIO allocation fails.
Backport to 3.15 and 3.14.
(cherry picked from commit b2b0a33)
Co-authored-by: Jelle Zijlstra <jelle@openai.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
1 parent c0bc2c0 commit 3beccbe
3 files changed
Lines changed: 4 additions & 0 deletions
File tree
- Misc/NEWS.d/next/Library
- Modules
- _ssl
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1512 | 1512 | | |
1513 | 1513 | | |
1514 | 1514 | | |
| 1515 | + | |
1515 | 1516 | | |
1516 | 1517 | | |
1517 | 1518 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| 223 | + | |
223 | 224 | | |
224 | 225 | | |
225 | 226 | | |
| |||
0 commit comments