From: Ondřej Surý Date: Tue, 5 May 2026 06:20:19 +0000 (+0200) Subject: [9.20] fix: dev: Tidy up the cleanup path in check_signer() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf517f73d5b36b6ee26ec238e2914644fb20e64b;p=thirdparty%2Fbind9.git [9.20] fix: dev: Tidy up the cleanup path in check_signer() When check_signer() processed a DNSKEY whose public-key data could not be parsed, the early return on the parse error skipped the cleanup of the cloned signature rdataset. In every code path that currently reaches this function the cloned rdataset holds no resources, so no memory was actually leaked, but the cleanup is restructured so the parse and the iteration cannot diverge again. Closes #5869 Merge branch '5869-fix-memory-leak-in-check_signer-9.20' into 'bind-9.20' See merge request isc-projects/bind9!11957 --- cf517f73d5b36b6ee26ec238e2914644fb20e64b