]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: tools: fix bad character handling in str2sa_range()
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Mar 2013 14:28:17 +0000 (15:28 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Mar 2013 18:08:26 +0000 (19:08 +0100)
commite4c58c89f6e657397beeff1b394f7567241a71b7
tree99b7783e26268407fb052a1c443106cc9a4e1d0a
parent0dbbf317e6ee80e60bebf11d0f8446f7a2aa7db9
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.
src/standard.c