mirror of
https://github.com/nginx/nginx.git
synced 2024-12-12 10:19:00 +08:00
Fixed buffer overflow.
This commit is contained in:
parent
3fbdc04072
commit
81f7cff632
@ -263,7 +263,7 @@ ngx_http_v3_create_header(ngx_http_request_t *r)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
len = 0;
|
||||
len = 2;
|
||||
|
||||
if (r->headers_out.status == NGX_HTTP_OK) {
|
||||
len += ngx_http_v3_encode_prefix_int(NULL, 25, 6);
|
||||
|
Loading…
Reference in New Issue
Block a user