Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_ssi_filter_module.c @ 4852:9be0b6b749ae stable-1.2
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.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 24 Sep 2012 18:54:28 +0000 |
parents | 834049edae24 |
children |
comparison
equal
deleted
inserted
replaced
4851:6173853dd782 | 4852:9be0b6b749ae |
---|---|
1022 } | 1022 } |
1023 | 1023 |
1024 switch (state) { | 1024 switch (state) { |
1025 | 1025 |
1026 case ssi_start_state: | 1026 case ssi_start_state: |
1027 /* not reached */ | |
1027 break; | 1028 break; |
1028 | 1029 |
1029 case ssi_tag_state: | 1030 case ssi_tag_state: |
1030 switch (ch) { | 1031 switch (ch) { |
1031 case '!': | 1032 case '!': |