Fix overflow and OOB read for large ext lengths.
With an 8+ MB packet it is possible to craft an extension length that would overflow, bypassing the checks to ensure the extension data remains inside the packet. This patch fixes that and adds a test for it.
Loading