mirror of
https://github.com/nginx/nginx.git
synced 2024-12-05 06:19:01 +08:00
Fixed pointer increment while parsing HTTP/3 header.
This commit is contained in:
parent
2973465556
commit
04d037b239
@ -83,9 +83,8 @@ ngx_http_v3_parse_header(ngx_http_request_t *r, ngx_buf_t *b)
|
||||
break;
|
||||
}
|
||||
|
||||
for ( /* void */ ; b->pos < b->last; b->pos++) {
|
||||
|
||||
rc = ngx_http_v3_parse_headers(c, st, *b->pos);
|
||||
while (b->pos < b->last) {
|
||||
rc = ngx_http_v3_parse_headers(c, st, *b->pos++);
|
||||
|
||||
if (rc == NGX_ERROR) {
|
||||
goto failed;
|
||||
|
Loading…
Reference in New Issue
Block a user