| commit | ca876e1a7f76907bba165198e034c931f3ea06c3 | [log] [tgz] |
|---|---|---|
| author | Igor Sysoev <igor@sysoev.ru> | Thu Feb 14 16:03:48 2008 +0000 |
| committer | Igor Sysoev <igor@sysoev.ru> | Thu Feb 14 16:03:48 2008 +0000 |
| tree | 1f12ebbab95c959280489fd4f09fbf679d2abafd | |
| parent | 45450461b682602098b85d39ff6c12896c3148bb [diff] |
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 index 5e17cb5..1d7730d 100644 --- a/src/http/modules/ngx_http_ssi_filter_module.c +++ b/src/http/modules/ngx_http_ssi_filter_module.c
@@ -1983,6 +1983,7 @@ if (bl[i].count++) { + out = NULL; ll = &out; for (tl = bl[i].bufs; tl; tl = tl->next) {