mirror of
https://github.com/nginx/nginx.git
synced 2025-06-12 21:52:41 +08:00
fix segfault if empty stub block is used second time
This commit is contained in:
parent
45450461b6
commit
ca876e1a7f
@ -1983,6 +1983,7 @@ ngx_http_ssi_include(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx,
|
|||||||
|
|
||||||
if (bl[i].count++) {
|
if (bl[i].count++) {
|
||||||
|
|
||||||
|
out = NULL;
|
||||||
ll = &out;
|
ll = &out;
|
||||||
|
|
||||||
for (tl = bl[i].bufs; tl; tl = tl->next) {
|
for (tl = bl[i].bufs; tl; tl = tl->next) {
|
||||||
|
Loading…
Reference in New Issue
Block a user