mirror of https://github.com/MariaDB/server
Browse Source
When calculating next wakeup timepoint for the timer thread, with large thread_pool_stall_limit values, 32bit int overflow can happen. Fixed by making one operand 8 byte large. Also fixed the type of tick_interval to be unsigned, so it does not go negative for very thread_pool_stall_limit.bb-10.5-bar-MDEV-34037
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue