mirror of
https://github.com/nginx/nginx.git
synced 2026-06-09 08:57:35 -04:00
fix segfault introduced in r2845
This commit is contained in:
parent
93c483e0c5
commit
430d42bfdc
1 changed files with 4 additions and 1 deletions
|
|
@ -1492,7 +1492,10 @@ ngx_http_variable_request_body(ngx_http_request_t *r,
|
|||
ngx_buf_t *buf, *next;
|
||||
ngx_chain_t *cl;
|
||||
|
||||
if (r->request_body == NULL || r->request_body->temp_file) {
|
||||
if (r->request_body == NULL
|
||||
|| r->request_body->bufs == NULL
|
||||
|| r->request_body->temp_file)
|
||||
{
|
||||
v->not_found = 1;
|
||||
|
||||
return NGX_OK;
|
||||
|
|
|
|||
Loading…
Reference in a new issue