diff options
Diffstat (limited to 'ssl/quic/quic_wire.c')
-rw-r--r-- | ssl/quic/quic_wire.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ssl/quic/quic_wire.c b/ssl/quic/quic_wire.c index 6f8da05124..425e7efc2e 100644 --- a/ssl/quic/quic_wire.c +++ b/ssl/quic/quic_wire.c @@ -950,6 +950,9 @@ int ossl_quic_wire_decode_transport_param_int(PACKET *pkt, if (!PACKET_get_quic_vlint(&sub, value)) return 0; + if (PACKET_remaining(&sub) > 0) + return 0; + return 1; } |