mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-04-23 07:11:43 +02:00
If nbthread is MAX_THREADS, the shift operation needed to compute all_threads_mask fails in thread_sync_init(). Instead pass a number of threads to this function and let it compute the mask without overflowing. This should be backported to 1.8.