mirror of
https://github.com/nginx/nginx.git
synced 2026-10-24 21:13:08 +00:00
Fixed pointer increment while parsing HTTP/3 header.
This commit is contained in:
parent
2973465556
commit
04d037b239
1 changed files with 2 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue