Commit 96db902
committed
Add heartbeat extension bounds check.
A missing bounds check in the handling of the TLS heartbeat extension
can be used to reveal up to 64k of memory to a connected client or
server.
Thanks for Neel Mehta of Google Security for discovering this bug and to
Adam Langley <agl@chromium.org> and Bodo Moeller <bmoeller@acm.org> for
preparing the fix (CVE-2014-0160)1 parent 0d7717f commit 96db902
3 files changed
+36
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
7 | 16 | | |
8 | 17 | | |
9 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1459 | 1459 | | |
1460 | 1460 | | |
1461 | 1461 | | |
1462 | | - | |
1463 | | - | |
1464 | | - | |
1465 | | - | |
1466 | | - | |
1467 | 1462 | | |
1468 | 1463 | | |
1469 | 1464 | | |
1470 | 1465 | | |
1471 | 1466 | | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
1472 | 1476 | | |
1473 | 1477 | | |
1474 | 1478 | | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
1475 | 1482 | | |
1476 | 1483 | | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
1477 | 1487 | | |
1478 | 1488 | | |
1479 | 1489 | | |
1480 | 1490 | | |
1481 | | - | |
| 1491 | + | |
1482 | 1492 | | |
1483 | 1493 | | |
1484 | 1494 | | |
| |||
1489 | 1499 | | |
1490 | 1500 | | |
1491 | 1501 | | |
1492 | | - | |
| 1502 | + | |
1493 | 1503 | | |
1494 | 1504 | | |
1495 | 1505 | | |
1496 | | - | |
| 1506 | + | |
1497 | 1507 | | |
1498 | 1508 | | |
1499 | 1509 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2588 | 2588 | | |
2589 | 2589 | | |
2590 | 2590 | | |
2591 | | - | |
2592 | | - | |
2593 | | - | |
2594 | | - | |
2595 | | - | |
2596 | 2591 | | |
2597 | 2592 | | |
2598 | 2593 | | |
2599 | 2594 | | |
2600 | 2595 | | |
| 2596 | + | |
| 2597 | + | |
| 2598 | + | |
| 2599 | + | |
| 2600 | + | |
| 2601 | + | |
| 2602 | + | |
| 2603 | + | |
| 2604 | + | |
2601 | 2605 | | |
2602 | 2606 | | |
2603 | 2607 | | |
| |||
0 commit comments