# HG changeset patch # User Igor Sysoev # Date 1209895529 0 # Node ID 778fd69806fc586d4d0b1c3a6443006708322d0a # Parent ee49a83b6de28a19dc787ed6b699e0e011b72c73 r1894 merge: fix segfault if empty stub block is used second time diff --git a/src/http/modules/ngx_http_ssi_filter_module.c b/src/http/modules/ngx_http_ssi_filter_module.c --- 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) {