]> git.kaiwu.me - nginx.git/commit
Merge of r4785, r4795, r4811, r4812, r4816, r4822: coverity.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 24 Sep 2012 18:54:28 +0000 (18:54 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 24 Sep 2012 18:54:28 +0000 (18:54 +0000)
commit191e31938e81f2a59a4ba4dc6b3f4f28bc232187
tree4a66b21305d26ed0522557cf19be9ffca6d7a758
parentf8c0690d379ad745fe3a7e7f53548964278ce094
Merge of r4785, r4795, r4811, r4812, r4816, r4822: coverity.

*) Resolver: fixed possible memory leak in ngx_resolver_create().

*) Explicitly ignore returned value from unlink() in ngx_open_tempfile().

*) Explicitly ignore returned value from close() in ngx_event_core_init_conf().

*) Added three missing checks for NULL after ngx_array_push() calls.

*) Crypt: fixed handling of corrupted SSHA entries in password file.

*) Mark logically dead code with corresponding comment.

Found by / prodded by Coverity.
src/core/ngx_crypt.c
src/core/ngx_resolver.c
src/event/ngx_event.c
src/http/modules/ngx_http_fastcgi_module.c
src/http/modules/ngx_http_limit_conn_module.c
src/http/modules/ngx_http_limit_req_module.c
src/http/modules/ngx_http_ssi_filter_module.c
src/os/unix/ngx_files.c