quiche icon indicating copy to clipboard operation
quiche copied to clipboard

lib: Fix overflow when detecting reserved transport params

Open hawkinsw opened this issue 8 months ago • 0 comments

In cases where a QUIC connection's transport parameter has an ID of less than 27, checking whether that transport parameter is reserved will result in a panic caused by an attempt to store a negative value into a variable with an unsigned type.

Handling transport parameters with ID of less than 27 specially will prevent this from happening.

hawkinsw avatar Feb 06 '25 06:02 hawkinsw