]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: nil: Remove unnecessary NULL checks causing Coverity warnings
authorMark Andrews <marka@isc.org>
Mon, 27 Oct 2025 20:05:27 +0000 (07:05 +1100)
committerMark Andrews <marka@isc.org>
Mon, 27 Oct 2025 20:05:27 +0000 (07:05 +1100)
In cfg_parse_buffer and cfg_parse_file 'pctx' was being checked
for being non-NULL when it was guaranteed to be non-NULL.  This
raised Coverity issues ID 637688 and ID 637689.

Closes #5599

Merge branch '5599-remove-unnecessary-null-checks' into 'main'

See merge request isc-projects/bind9!11154


Trivial merge