]> git.ipfire.org Git - thirdparty/bind9.git/commit
Silence gcc-10-fanalyzer false positive
authorMark Andrews <marka@isc.org>
Tue, 18 May 2021 05:19:28 +0000 (15:19 +1000)
committerMark Andrews <marka@isc.org>
Tue, 18 May 2021 05:48:32 +0000 (15:48 +1000)
commitbaa40e47cd02a24e53ce3544971191a97c4754b7
tree50ba226103960a938631c39445fb47538ccc0c2d
parent0703eb14ebe65291c3ee25844b0a931339985313
Silence gcc-10-fanalyzer false positive

Add REQUIRE(type == dns_rdatatype_nsec3 || firstp != NULL); so
that dereferences of *firstp is not flagged as a NULL pointer
dereference.

(cherry picked from commit 683ad6e4bd12315ace3703d56ba0f0a3b1ad660f)
lib/dns/rbtdb.c