Mercurial > hg > nginx
diff src/core/ngx_conf_file.c @ 3296:f63865460aa6
cf->conf_file->file.name.data may be uninitialized, if an allocation failed;
found by Clang Static Analyzer
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 05 Nov 2009 17:10:48 +0000 |
parents | 97693137d636 |
children | 151ab752a782 |
line wrap: on
line diff
--- a/src/core/ngx_conf_file.c Thu Nov 05 17:09:02 2009 +0000 +++ b/src/core/ngx_conf_file.c Thu Nov 05 17:10:48 2009 +0000 @@ -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; }