Commit 2596700
committed
Bound buffered HTTP body size
Clamp per-chunk and aggregated HTTP response sizes before allocating in wolfIO_HttpProcessResponseBuf so untrusted Content-Length or chunk headers can’t overflow the arithmetic or force giant buffers.1 parent be1428d commit 2596700
1 file changed
Lines changed: 23 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1670 | 1670 | | |
1671 | 1671 | | |
1672 | 1672 | | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
1673 | 1678 | | |
1674 | 1679 | | |
1675 | 1680 | | |
1676 | 1681 | | |
1677 | 1682 | | |
1678 | | - | |
| 1683 | + | |
1679 | 1684 | | |
1680 | 1685 | | |
1681 | 1686 | | |
| |||
1691 | 1696 | | |
1692 | 1697 | | |
1693 | 1698 | | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
| 1706 | + | |
| 1707 | + | |
| 1708 | + | |
| 1709 | + | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
1694 | 1716 | | |
1695 | 1717 | | |
1696 | 1718 | | |
| |||
0 commit comments