]> git.ipfire.org Git - thirdparty/pdns.git/commit
Do not test node for null, the loop guarantees node is not null. 9078/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 1 May 2020 08:52:50 +0000 (10:52 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 1 May 2020 08:52:50 +0000 (10:52 +0200)
commit243134ef3aba940c92ef84ff342acf690cc77db8
tree372d847f3d37ced927bd833eb99f410272d123ff
parent98e0a4bd004f0a6922daf66c8025b3d0a0aee27c
Do not test node for null, the loop guarantees node is not null.

Found by Coverity (1419400), which concludes that if node could be
null, the following node->node.first.getBits() would deref a nullptr.
pdns/iputils.hh