mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-16 06:52:03 +02:00
[BUG] check_post: limit analysis to the buffer length
If "balance url_param XXX check_post" is used, we must bound the number of bytes analysed to the buffer's length.
This commit is contained in:
@@ -289,6 +289,9 @@ struct server *get_server_ph_post(struct session *s)
|
||||
len = chunk;
|
||||
}
|
||||
|
||||
if (len > req->l - body)
|
||||
len = req->l - body;
|
||||
|
||||
p = params;
|
||||
|
||||
while (len > plen) {
|
||||
|
||||
Reference in New Issue
Block a user