inetstack
inetstack copied to clipboard
[tcp] Bad Type Casting
Description
In protocols::tcp::established::ControlBlock::receive_data()
and potentially everywhere, we are casting fixed sizes to usize
to perform some checks.
We should do the other way around.