diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-05-04 10:05:29 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-05-04 10:05:29 +0000 |
commit | 5256bf19157407a5a7d71f61d17e6b390b1d920f (patch) | |
tree | ef6911918622733719bc6e137e5484dd628c18e1 | |
parent | a3c1ad81eba455337a86b915dafd9d168c099f28 (diff) | |
download | nginx-5256bf19157407a5a7d71f61d17e6b390b1d920f.tar.gz |
r1894 merge:
fix segfault if empty stub block is used second time
-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 ae72ee379..5f01bb522 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) { |