Commit 9790719
committed
Zeroize sniffer watch key buffer before free
F-2143
ssl_SetWatchKey_file loaded a private key file into a heap buffer and
freed it without ForceZero on both error and success paths. Zeroize
before XFREE.1 parent 4c8adc5 commit 9790719
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7242 | 7242 | | |
7243 | 7243 | | |
7244 | 7244 | | |
| 7245 | + | |
| 7246 | + | |
| 7247 | + | |
7245 | 7248 | | |
7246 | 7249 | | |
7247 | 7250 | | |
7248 | 7251 | | |
7249 | 7252 | | |
7250 | 7253 | | |
| 7254 | + | |
7251 | 7255 | | |
7252 | 7256 | | |
7253 | 7257 | | |
| |||
0 commit comments