aboutsummaryrefslogtreecommitdiff
path: root/src/http/v3/ngx_http_v3_request.c
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2020-09-08 13:35:50 +0300
committerSergey Kandaurov <pluknet@nginx.com>2020-09-08 13:35:50 +0300
commit786a74e34ec89d0e78b95f2524dff68bf6235923 (patch)
tree1d72e0975ebf68a118f68d216624df3e337ec048 /src/http/v3/ngx_http_v3_request.c
parentd8360f912ac2eeb0103c2781d450b7735d7894ba (diff)
downloadnginx-786a74e34ec89d0e78b95f2524dff68bf6235923.tar.gz
nginx-786a74e34ec89d0e78b95f2524dff68bf6235923.zip
QUIC: removed check for packet size beyond MAX_UDP_PAYLOAD_SIZE.
The check tested the total size of a packet header and unprotected packet payload, which doesn't include the packet number length and expansion of the packet protection AEAD. If the packet was corrupted, it could cause false triggering of the condition due to unsigned type underflow leading to a connection error. Existing checks for the QUIC header and protected packet payload lengths should be enough.
Diffstat (limited to 'src/http/v3/ngx_http_v3_request.c')
0 files changed, 0 insertions, 0 deletions