]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix the sizeof() for array holding the pointers to clientmgr
authorOndřej Surý <ondrej@sury.org>
Wed, 26 May 2021 08:01:30 +0000 (10:01 +0200)
committerOndřej Surý <ondrej@sury.org>
Wed, 26 May 2021 08:03:52 +0000 (10:03 +0200)
commit2db529057980d2fd879b2d8a5d94487042db215a
treecdb8d6529be2adc13c1214a78e66a63d306c41fa
parentda282bad6aeb732eba5c1dfa6ef9cbc1aeebe4c7
Fix the sizeof() for array holding the pointers to clientmgr

The size of the array holding the pointers to clientmgr was created so
big it could hold the actual clientmgr objects, not just the pointer.
This commit fixes the size to be just the ncpus * sizeof(pointer).
lib/ns/interfacemgr.c