mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-24 23:31:40 +02:00
Till now this value was parsed as raw integer using atol() and would silently ignore any trailing suffix, preventing from starting when set e.g. to "64k". Let's make use of parse_size_err() on it so that units are supported. This requires to turn it to uint as well, and to explicitly limit its range to INT_MAX - 2*sizeof(void*), which was previously partially handled as part of the sign check.