commit | fec56c6a76463d40be3e15eee297aa8d2b67362a | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Dec 11 15:51:37 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Dec 11 15:51:37 2019 +0100 |
tree | 0c53531107d0951f5c05aa5dd578fd6574f5b4b9 | |
parent | 2444108f16868ccde928d97ffa3db847ddad89fb [diff] |
BUG/MINOR: listener: fix off-by-one in state name check As reported in issue #380, the state check in listener_state_str() is invalid as it allows state value 9 to report crap. We don't use such a state value so the issue should never happen unless the memory is already corrupted, but better clean this now while it's harmless. This should be backported to all maintained branches.