Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27089)
(cherry picked from commit
9f85a036e331d2837db604fc505062f7790a8b2b)
size_t i;
PACKET orig_pkt = *pkt;
- if (!ossl_quic_wire_peek_frame_header(pkt, &frame_type, NULL))
+ if (!ossl_quic_wire_peek_frame_header(pkt, &frame_type, NULL)) {
+ *need_skip = SIZE_MAX;
return 0;
+ }
/*
* If something goes wrong decoding a frame we cannot log it as that frame