diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-02-14 16:03:48 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-02-14 16:03:48 +0000 |
commit | ca876e1a7f76907bba165198e034c931f3ea06c3 (patch) | |
tree | 1f12ebbab95c959280489fd4f09fbf679d2abafd /src | |
parent | 45450461b682602098b85d39ff6c12896c3148bb (diff) | |
download | nginx-ca876e1a7f76907bba165198e034c931f3ea06c3.tar.gz nginx-ca876e1a7f76907bba165198e034c931f3ea06c3.zip |
fix segfault if empty stub block is used second time
Diffstat (limited to 'src')
-rw-r--r-- | src/http/modules/ngx_http_ssi_filter_module.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_ssi_filter_module.c b/src/http/modules/ngx_http_ssi_filter_module.c index 5e17cb59f..1d7730d56 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 @@ ngx_http_ssi_include(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx, if (bl[i].count++) { + out = NULL; ll = &out; for (tl = bl[i].bufs; tl; tl = tl->next) { |