commit | 017484c80f2fd265281853fdf0bc816b19a751da | [log] [tgz] |
---|---|---|
author | Tim Duesterhus <tim@bastelstu.be> | Sat Feb 22 16:39:05 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Feb 25 07:42:51 2020 +0100 |
tree | d8b4d23984ae16331ef44bb41331092290c84ce6 | |
parent | 03e78535816385b83bc687d7f1e529d311e49e7e [diff] |
CLEANUP: cfgparse: Fix type of second calloc() parameter `curr_idle_thr` is of type `unsigned int`, not `int`. Fix this issue by taking the size of the dereferenced `curr_idle_thr` array. This issue was introduced when adding the `curr_idle_thr` struct member in commit f131481a0af79037bc6616edf450ae81d80084d7. This commit is first tagged in 2.0-dev1 and marked for backport to 1.9.