You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A fatal BUG 2.8.0.
this BUG will cause Nginx crash and can be easily reproduced.
The Root cause is located in function move_brigade_to_chain
the "next" ngx_chain_t sturcture is not initialized before use and leave in random value. this will cause crash in chunked filter module in nginx, and can be easily reproduced when deployed as reverse-proxy and chunked traffic pass thru .
A fatal BUG 2.8.0.
this BUG will cause Nginx crash and can be easily reproduced.
The Root cause is located in function move_brigade_to_chain
the "next" ngx_chain_t sturcture is not initialized before use and leave in random value. this will cause crash in chunked filter module in nginx, and can be easily reproduced when deployed as reverse-proxy and chunked traffic pass thru .
patch:
ngx_int_t
move_brigade_to_chain(apr_bucket_brigade _bb, ngx_chain_t *_ll, ngx_pool_t *pool) {
apr_bucket *e;
ngx_buf_t *buf;
ngx_chain_t *cl;
+++ cl->next = NULL;
cl->buf->last_buf = 1;
*ll = cl;
} else {
cl->buf->last_buf = 1;
}
apr_brigade_cleanup(bb);
return NGX_OK;
}
if (APR_BUCKET_IS_METADATA(e)) {
continue;
}
}
The text was updated successfully, but these errors were encountered: