diff options
author | David Goulet <dgoulet@torproject.org> | 2017-12-11 15:42:28 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-12-11 15:45:19 -0500 |
commit | 057139d3830bb94df8031bb6e8e385cef53352bc (patch) | |
tree | 5d24e5cebb0c95b7a04a7fa6de716f1b092ab010 /src/common | |
parent | d68abbe358af41b18c9c54444e49689e2626328d (diff) | |
download | tor-057139d3830bb94df8031bb6e8e385cef53352bc.tar.gz tor-057139d3830bb94df8031bb6e8e385cef53352bc.zip |
sched: Avoid integer overflow when computing tcp_space
In KIST, we could have a small congestion window value than the unacked
packets leading to a integer overflow which leaves the tcp_space value to be
humongous.
This has no security implications but it results in KIST scheduler allowing to
send cells on a potentially saturated connection.
Found by #24423. Fixes #24590.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/common')
0 files changed, 0 insertions, 0 deletions