]> git.ipfire.org Git - thirdparty/bind9.git/commit
Release gnamebuf also on the error path
authorOndřej Surý <ondrej@isc.org>
Fri, 6 Feb 2026 16:50:55 +0000 (17:50 +0100)
committerOndřej Surý <ondrej@sury.org>
Fri, 6 Feb 2026 17:36:58 +0000 (18:36 +0100)
commit07877aa74276d6b81fecb14329da50949b0f1dc8
tree47d0cbafb88f2f07beb43bcd8e11d68f43295fc6
parentf4fdcee03f19e1b08ddbcf9df1f663a2dd23822e
Release gnamebuf also on the error path

In dst_gssapi_acceptctx(), the gnamebuf could leak a little bit of
memory if dns_name_fromtext() would theoretically fail.  This would
require a Kerberos principal with invalid DNS name.

(cherry picked from commit 3ad87f1ad612fb6adce175760483735066300266)
lib/dns/gssapictx.c