mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-04 06:10:28 -05:00
BUG/MAJOR: http: null-terminate the http actions keywords list
Commit a0dc23f ("MEDIUM: http: implement http-request set-{method,path,query,uri}")
forgot to null-terminate the list, resulting in crashes when these actions
are used if the platform doesn't pad the struct with nulls.
Thanks to Gunay Arslan for reporting a detailed trace showing the
origin of this bug.
No backport to 1.5 is needed.
This commit is contained in:
parent
601a4d1741
commit
cb703b0352
1 changed files with 1 additions and 0 deletions
|
|
@ -12033,6 +12033,7 @@ struct http_req_action_kw_list http_req_actions = {
|
|||
{ "set-path", parse_set_req_line },
|
||||
{ "set-query", parse_set_req_line },
|
||||
{ "set-uri", parse_set_req_line },
|
||||
{ NULL, NULL }
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue