samba/redhat-4.22.patch
Pavel Filipenský 5062ec428a Update to version 4.22.3
- resolves: RHEL-89873
2025-07-08 20:25:47 +02:00

35 lines
1.0 KiB
Diff

From 88572cc8f629a737a1d5b33d5800f3692895233f Mon Sep 17 00:00:00 2001
From: Ralph Boehme <slow@samba.org>
Date: Fri, 4 Jul 2025 17:50:40 +0200
Subject: [PATCH] libads: fix get_kdc_ip_string() ...
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15881
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Mon Jul 7 16:46:29 UTC 2025 on atb-devel-224
---
source3/libads/kerberos.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c
index 75803500d31..145bc36cdb2 100644
--- a/source3/libads/kerberos.c
+++ b/source3/libads/kerberos.c
@@ -1230,6 +1230,7 @@ static char *get_kdc_ip_string(char *mem_ctx,
if (!NT_STATUS_IS_OK(status)) {
DBG_DEBUG("netlogon_pings failed: %s\n", nt_errstr(status));
+ result = talloc_move(mem_ctx, &kdc_str);
goto out;
}
--
2.50.0