Latest update - 9257

This commit is contained in:
2024-06-01 15:25:41 +09:00
parent b18c2e4d34
commit 2a4f7d8358
10 changed files with 104 additions and 10 deletions
+1 -1
View File
@@ -308,7 +308,7 @@ ngx_http_v3_set_capacity(ngx_connection_t *c, ngx_uint_t capacity)
prev_max = dt->capacity / 32;
if (max > prev_max) {
elts = ngx_alloc(max * sizeof(void *), c->log);
elts = ngx_alloc((max + 1) * sizeof(void *), c->log);
if (elts == NULL) {
return NGX_ERROR;
}