]> git.ipfire.org Git - thirdparty/bind9.git/commit
Run conn_cleanup on isccc_cc_towire failure in control_respond
authorOndřej Surý <ondrej@isc.org>
Thu, 30 Apr 2026 04:29:21 +0000 (06:29 +0200)
committerOndřej Surý <ondrej@isc.org>
Thu, 30 Apr 2026 04:47:39 +0000 (06:47 +0200)
commit1b681dfa2ff408f40ca5e3453e336ff8864af27c
tree91f2fd55198d73a9a51bdbe8fab66c04951b8b70
parent28025ceff89084d2a58f9c7337417a2ecaab21a9
Run conn_cleanup on isccc_cc_towire failure in control_respond

The bare return left conn->secret, conn->response, conn->request, and
conn->text pinned until the connection itself was torn down — every
other error in the function reaches conn_cleanup via goto, and the
success path falls into the same label, so the towire-failure return
was the lone outlier.  Send it through the existing cleanup path.

Assisted-by: Claude:claude-opus-4-7
bin/named/controlconf.c