cf->conf_file->file.name.data may be uninitialized, if an allocation failed; found by Clang Static Analyzer
diff --git a/src/core/ngx_conf_file.c b/src/core/ngx_conf_file.c index c58d809..c48d814 100644 --- a/src/core/ngx_conf_file.c +++ b/src/core/ngx_conf_file.c
@@ -261,7 +261,7 @@ if (ngx_close_file(fd) == NGX_FILE_ERROR) { ngx_log_error(NGX_LOG_ALERT, cf->log, ngx_errno, ngx_close_file_n " %s failed", - cf->conf_file->file.name.data); + filename->data); return NGX_CONF_ERROR; }