diff src/http/modules/ngx_http_ssi_filter_module.c @ 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 d2a12e9a34e8
children e94149d5de37
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) {