internet: IPv6 header is not rebuilt correctly after a reassembly
Sneaky little hobbitses... sorry habit. I meant Sneaky little bugs
This went unnoticed so far because the header is correct for what concerns the IP numbers (source and destination), and it is handed over to the correct protocol. Plus, TCP and UDP only care about the src/dst addresses in the header, and little more.
However, the "variable" part of the header is messed up, and in particular:
- Next Header (opps),
- Payload size.
These are for sure wrong, maybe there's something more.
This can affect severely anything trying to get these infos from the headers, so... bug.