commit | e4c58c89f6e657397beeff1b394f7567241a71b7 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Mar 06 15:28:17 2013 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Mar 06 19:08:26 2013 +0100 |
tree | 99b7783e26268407fb052a1c443106cc9a4e1d0a | |
parent | 0dbbf317e6ee80e60bebf11d0f8446f7a2aa7db9 [diff] |
BUG/MEDIUM: tools: fix bad character handling in str2sa_range() Commit d4448bc8 brought support for parsing port ranges, but invalid characters are not properly handled and can result in a crash while parsing the configuration if an invalid character is present in the port, because the return value is set to NULL then dereferenced.