Latest update - 7369

This commit is contained in:
2018-10-03 13:43:14 +09:00
parent b8556fb704
commit fb2e8c1e54
5 changed files with 38 additions and 6 deletions
+2 -1
View File
@@ -921,7 +921,8 @@ ngx_init_zone_pool(ngx_cycle_t *cycle, ngx_shm_zone_t *zn)
#else
file = ngx_pnalloc(cycle->pool, cycle->lock_file.len + zn->shm.name.len);
file = ngx_pnalloc(cycle->pool,
cycle->lock_file.len + zn->shm.name.len + 1);
if (file == NULL) {
return NGX_ERROR;
}