Latest update - 7350

This commit is contained in:
2018-09-04 11:18:57 +09:00
parent 00562c1dcb
commit 92f9c42a32
2 changed files with 85 additions and 33 deletions
+6
View File
@@ -960,6 +960,12 @@ ngx_http_uwsgi_create_request(ngx_http_request_t *r)
}
#endif
if (len > 65535) {
ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0,
"uwsgi request is too big: %uz", len);
return NGX_ERROR;
}
b = ngx_create_temp_buf(r->pool, len + 4);
if (b == NULL) {
return NGX_ERROR;