r1894 merge:

fix segfault if empty stub block is used second time
This commit is contained in:
Igor Sysoev 2008-05-04 10:05:29 +00:00
parent b80397bd24
commit e9e15f8a13
1 changed files with 1 additions and 0 deletions

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