From: Ondřej Surý Date: Thu, 30 Apr 2026 07:33:00 +0000 (+0200) Subject: fix: dev: free per-command rndc state when response serialisation fails X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf7ee390bad0ce22d977ec7f5dffdc1dd7daaaae;p=thirdparty%2Fbind9.git fix: dev: free per-command rndc state when response serialisation fails When isccc_cc_towire failed while building an rndc reply, control_respond returned without releasing the per-command request, response, HMAC secret copy, and text buffer. They were eventually freed when the connection closed, but until then the HMAC key copy stayed in named's memory. The failure path now goes through the same cleanup label as every other error. Closes #5913 Merge branch '5913-controlconf-control-respond-cleanup-leak' into 'main' See merge request isc-projects/bind9!11915 --- bf7ee390bad0ce22d977ec7f5dffdc1dd7daaaae