comparison src/http/modules/ngx_http_ssi_filter_module.c @ 1993:778fd69806fc stable-0.5

r1894 merge: fix segfault if empty stub block is used second time
author Igor Sysoev <igor@sysoev.ru>
date Sun, 04 May 2008 10:05:29 +0000
parents d2a12e9a34e8
children e94149d5de37
comparison
equal deleted inserted replaced
1992:ee49a83b6de2 1993:778fd69806fc
1981 1981
1982 psr->handler = ngx_http_ssi_stub_output; 1982 psr->handler = ngx_http_ssi_stub_output;
1983 1983
1984 if (bl[i].count++) { 1984 if (bl[i].count++) {
1985 1985
1986 out = NULL;
1986 ll = &out; 1987 ll = &out;
1987 1988
1988 for (tl = bl[i].bufs; tl; tl = tl->next) { 1989 for (tl = bl[i].bufs; tl; tl = tl->next) {
1989 1990
1990 if (ctx->free) { 1991 if (ctx->free) {