Commit 05ec832
committed
Check bounds on addition with value from peer
Bounds check the bytes to add from the peer against the window size.
Affected function: DoChannelWindowAdjust.1 parent c802a7f commit 05ec832
1 file changed
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
9469 | 9470 | | |
9470 | 9471 | | |
9471 | 9472 | | |
9472 | | - | |
9473 | | - | |
9474 | | - | |
9475 | | - | |
9476 | | - | |
| 9473 | + | |
| 9474 | + | |
| 9475 | + | |
| 9476 | + | |
| 9477 | + | |
| 9478 | + | |
| 9479 | + | |
| 9480 | + | |
| 9481 | + | |
9477 | 9482 | | |
9478 | 9483 | | |
9479 | 9484 | | |
| |||
0 commit comments