]> git.ipfire.org Git - thirdparty/bind9.git/commit
Address potential thread issues:
authorMark Andrews <marka@isc.org>
Wed, 24 Jun 2020 03:42:30 +0000 (13:42 +1000)
committerMark Andrews <marka@isc.org>
Thu, 25 Jun 2020 11:18:45 +0000 (21:18 +1000)
commita878e8d4bcd9032cc39461af46766bf884cf801b
treeadd9248f3e4cbe157815a8664ca19d9fbd611663
parentba420d50c8a97bfa33bb867a7d3a6eeb1d5013c5
Address potential thread issues:

Assign and then check node for NULL to address another thread
changing radix->head in the meantime.

Move 'node != NULL' check into while loop test to silence cppcheck
false positive.

Fix pointer != NULL style.

(cherry picked from commit 51f08d20954f7eb5601dc7aca0cfa80d438db107)
lib/isc/radix.c