]> git.kaiwu.me - haproxy.git/commit
[BUG] fix error checking in strl2ic/strl2uic()
authorWilly Tarreau <w@1wt.eu>
Thu, 25 Oct 2007 07:42:24 +0000 (09:42 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 31 Oct 2007 07:52:17 +0000 (08:52 +0100)
commitfeb628b3b1326554dd5ea28ac362d15cd3f5af19
treee2c64fc41af5bba3fd6976010f28826a4afb7122
parentc84aa3f824a8b671e3b64fd0bce77345373a9234
[BUG] fix error checking in strl2ic/strl2uic()

The strl2ic() and strl2uic() primitives used to convert string to
integers could return 10 times the value read if they stopped on
non-digit because of a mis-placed loop exit.
(cherry picked from commit 3f0c9761352efc06b498ad43f314b136d92cf05d)
include/common/standard.h
src/standard.c