]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: http: null-terminate the http actions keywords list
authorWilly Tarreau <w@1wt.eu>
Fri, 3 Apr 2015 07:52:01 +0000 (09:52 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 3 Apr 2015 07:58:02 +0000 (09:58 +0200)
commitcb703b0352d02e2a4e712258677ee2d296adc6dd
tree9a7ea51a8dcdc2c6b89eb877223c892d641d93d6
parent601a4d1741100d7a861b6d9b66561335c9911277
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.
src/proto_http.c