- Notifications
You must be signed in to change notification settings - Fork5
Commit4847d59
committed
Set errno to zero before invoking SSL_read or SSL_write. It appears that
at least in some Windows versions, these functions are capable of returninga failure indication without setting errno. That puts us into an infiniteloop if the previous value happened to be EINTR. Per report from BrendanHill.Back-patch to 8.2. We could take it further back, but since this is onlyknown to be an issue on Windows and we don't support Windows before 8.2,it does not seem worth the trouble.1 parent3d4b0ab commit4847d59
2 files changed
+6
-2
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| |||
245 | 245 |
| |
246 | 246 |
| |
247 | 247 |
| |
| 248 | + | |
248 | 249 |
| |
249 | 250 |
| |
250 | 251 |
| |
| |||
339 | 340 |
| |
340 | 341 |
| |
341 | 342 |
| |
| 343 | + | |
342 | 344 |
| |
343 | 345 |
| |
344 | 346 |
| |
|
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| |||
324 | 324 |
| |
325 | 325 |
| |
326 | 326 |
| |
| 327 | + | |
327 | 328 |
| |
328 | 329 |
| |
329 | 330 |
| |
| |||
409 | 410 |
| |
410 | 411 |
| |
411 | 412 |
| |
| 413 | + | |
412 | 414 |
| |
413 | 415 |
| |
414 | 416 |
| |
|
0 commit comments
Comments
(0)