fix segfault if empty stub block is used second time

This commit is contained in:
Igor Sysoev 2008-02-14 16:03:48 +00:00
parent 45450461b6
commit ca876e1a7f

View File

@ -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) {