mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06: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;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
for ( /* void */ ; b->pos < b->last; b->pos++) {
|
while (b->pos < b->last) {
|
||||||
|
rc = ngx_http_v3_parse_headers(c, st, *b->pos++);
|
||||||
rc = ngx_http_v3_parse_headers(c, st, *b->pos);
|
|
||||||
|
|
||||||
if (rc == NGX_ERROR) {
|
if (rc == NGX_ERROR) {
|
||||||
goto failed;
|
goto failed;
|
||||||
|
Loading…
Reference in New Issue
Block a user