Skip to content

socketman: sequence number comparisons don't handle wraparound #18

@avsa242

Description

@avsa242

If a segment arrives or is sent with a sequence number that starts at or near the top of 32-bit numerical limit, and then a later segment carries a sequence number that wraps around to 0 but is still within the sliding window, any comparisons done on it don't account for this and will fail erroneously. Comparisons should be done using modular arithmetic.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions