diff options
Diffstat (limited to 'src/core/nginx.c')
-rw-r--r-- | src/core/nginx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c index 63185bcbf..f08af79de 100644 --- a/src/core/nginx.c +++ b/src/core/nginx.c @@ -540,6 +540,8 @@ ngx_exec_new_binary(ngx_cycle_t *cycle, char *const *argv) ngx_core_conf_t *ccf; ngx_listening_t *ls; + ngx_memzero(&ctx, sizeof(ngx_exec_ctx_t)); + ctx.path = argv[0]; ctx.name = "new binary process"; ctx.argv = argv; |