inetstack icon indicating copy to clipboard operation
inetstack copied to clipboard

[tcp] Bad Type Casting

Open ppenna opened this issue 3 years ago • 0 comments

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.

ppenna avatar Jan 26 '22 14:01 ppenna