From: Colin Vidal Date: Thu, 21 May 2026 14:04:17 +0000 (+0200) Subject: fix: dev: fix possible NULL dereference in `cfg_map_findclause()` X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=d312d16bfd7643aa8458d61618a630b97f8edf49;p=thirdparty%2Fbind9.git fix: dev: fix possible NULL dereference in `cfg_map_findclause()` `cfg_map_findclause()` did not check whether a clause existed before dereferencing it, which could lead to a NULL dereference. Add the missing check to prevent this. In practice, this was not triggering any known bug, since `cfg_map_findclause()` is only called in contexts where the clause is known to exist. Closes #5997 Merge branch '5997-findclause' into 'main' See merge request isc-projects/bind9!12052 --- d312d16bfd7643aa8458d61618a630b97f8edf49