mirror of
https://github.com/smoltcp-rs/smoltcp.git
synced 2026-03-19 11:43:56 +00:00
If the length field indicates a lenght bigger than the actual data that it is carying, then the packet is just wrong. Emitting such a packet is also not allowed. We now also parse the IPv6 header in an NDISC redirected packet and check that the length is correct. Signed-off-by: Thibaut Vandervelden <thvdveld@vub.be>