Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Guard call to contract() from doall_util_fn().
It is not safe to unconditionally call contract() - when called repeatedly it will shrink the bucket array to zero and then attempt to access that allocation on the next call. Use the same guard that is used in lh_delete(). Issue found when investigating haproxy crashes reported by wizard-it on GitHub. ok tb@
- Loading branch information