mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix some 'impossible' overflow bugs in byte counting
The first was genuinely impossible, I think: it could only happen when the amount we read differed from the amount we wanted to read by more than INT_MAX. The second is just very unlikely: it would give incorrect results to the controller if you somehow wrote or read more than 4GB on one edge conn in one second. That one is a bugfix on 0.1.2.8-beta.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
o Minor bugfixes:
|
||||
- Correctly handle an "impossible" overflow cases in connection
|
||||
byte counting, where we write or read more than 4GB on an edge
|
||||
connection in single second. Bugfix on 0.1.2.8-beta.
|
||||
|
||||
Reference in New Issue
Block a user