changeset 1993:778fd69806fc stable-0.5

r1894 merge: fix segfault if empty stub block is used second time
author Igor Sysoev <igor@sysoev.ru>
date Sun, 04 May 2008 10:05:29 +0000
parents ee49a83b6de2
children f3205008c55a
files src/http/modules/ngx_http_ssi_filter_module.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/modules/ngx_http_ssi_filter_module.c
+++ b/src/http/modules/ngx_http_ssi_filter_module.c
@@ -1983,6 +1983,7 @@ ngx_http_ssi_include(ngx_http_request_t 
 
         if (bl[i].count++) {
 
+            out = NULL;
             ll = &out;
 
             for (tl = bl[i].bufs; tl; tl = tl->next) {