changeset 1893:685048830623

fix segfault if empty stub block is used second time
author Igor Sysoev <igor@sysoev.ru>
date Thu, 14 Feb 2008 16:03:48 +0000
parents 057d362ee50e
children 22e28e77246b
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	Wed Feb 13 13:50:04 2008 +0000
+++ b/src/http/modules/ngx_http_ssi_filter_module.c	Thu Feb 14 16:03:48 2008 +0000
@@ -1983,6 +1983,7 @@
 
         if (bl[i].count++) {
 
+            out = NULL;
             ll = &out;
 
             for (tl = bl[i].bufs; tl; tl = tl->next) {