commit | 31138fae9ff6f1a2d07496c2493a8302dbdc43a6 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Sep 29 18:38:47 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Sep 29 18:51:40 2015 +0200 |
tree | 15eb0f0fd3c4556cc7ff6db20a3226991cc218a6 | |
parent | e1aebb2994a799dc67e61bd28cfef4fc7987d8c2 [diff] |
BUG/MEDIUM: server: fix misuse of format string in load-server-state's warnings Commit e11cfcd ("MINOR: config: new backend directives: load-server-state-from-file and server-state-file-name") introduced a bug which can cause haproxy to crash upon startup by sending user-controlled data in a format string when emitting a warning. Fix the way the warning message is built to avoid this. No backport is needed, this was introduced in 1.6-dev6 only.