private-octopus / picoquic

Minimal implementation of the QUIC protocol
MIT License
523 stars 153 forks source link

Verify the incoming initial packets before any action. #1664

Closed huitema closed 3 months ago

huitema commented 3 months ago

PR #1661 introduced a bug: some actions were taken on packets before the packet's checksum was verified. This caused the "corruption of handshake" test in the interop runner to fail. This PR forces a verification of the checksum of initial packets before any decision.