]> 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:37:44 +0000 (18:37 +0100)
commit7a90d3c40687d3b232b7efa5d2dca6107d3e1f94
tree7e38b68a8626d05cc796768d810bc7481de1b56b
parentecbe2b7da3b6e4a2ba479497415213d9693364a5
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