Klaus Demo nginx / 62821f1
Upstream: fixed request chain traversal (ticket #1618). The problem does not manifest itself currently, because in case of non-buffered reading, chain link created by u->create_request method consists of a single element. Found by PVS-Studio. Vladimir Homutov 3 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
21342134 out = u->request_bufs;
21352135
21362136 if (r->request_body->bufs) {
2137 for (cl = out; cl->next; cl = out->next) { /* void */ }
2137 for (cl = out; cl->next; cl = cl->next) { /* void */ }
21382138 cl->next = r->request_body->bufs;
21392139 r->request_body->bufs = NULL;
21402140 }