Commit cfa504d
committed
wolfsshd: harden windowFull retry
- Guard the retry against a negative cnt_w so a non-sentinel
send error cannot become a negative memmove offset.
- Clear windowFullExt at the stdout and childFd save sites so
stream ownership is set unconditionally.1 parent 795b85e commit cfa504d
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1648 | 1648 | | |
1649 | 1649 | | |
1650 | 1650 | | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
1651 | 1655 | | |
1652 | 1656 | | |
1653 | 1657 | | |
| |||
1722 | 1726 | | |
1723 | 1727 | | |
1724 | 1728 | | |
| 1729 | + | |
1725 | 1730 | | |
1726 | 1731 | | |
1727 | 1732 | | |
1728 | 1733 | | |
1729 | 1734 | | |
1730 | 1735 | | |
| 1736 | + | |
1731 | 1737 | | |
1732 | 1738 | | |
1733 | 1739 | | |
1734 | 1740 | | |
| 1741 | + | |
1735 | 1742 | | |
1736 | 1743 | | |
1737 | 1744 | | |
| |||
1759 | 1766 | | |
1760 | 1767 | | |
1761 | 1768 | | |
| 1769 | + | |
1762 | 1770 | | |
1763 | 1771 | | |
1764 | 1772 | | |
1765 | 1773 | | |
1766 | 1774 | | |
1767 | 1775 | | |
| 1776 | + | |
1768 | 1777 | | |
1769 | 1778 | | |
1770 | 1779 | | |
1771 | 1780 | | |
| 1781 | + | |
1772 | 1782 | | |
1773 | 1783 | | |
1774 | 1784 | | |
| |||
0 commit comments