]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: acme: replace atol with len-bounded __strl2uic() for retry-after
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 23 Mar 2026 13:15:04 +0000 (14:15 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 23 Mar 2026 13:39:55 +0000 (14:39 +0100)
commitc7564c19a2e4ce495b934c077c7a08e9bdb89d08
tree328fc5fb6e24749abc1b289dfd4dd16c572a2213
parentefbf0f8ed1a5c3d622a537cc2fe0bad4b5e0165b
BUG/MINOR: acme: replace atol with len-bounded __strl2uic() for retry-after

Replace atol() by _strl2uic() in cases the input are ISTs when parsing
the retry-after header. There's no risk of an error since it will stop
at the first non-digit.

Must be backported to 3.2 and later.
src/acme.c