Further patch for bug 9832

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed May 15 03:20:49 MDT 2013


Hi!

Just found out that

https://attachments.samba.org/attachment.cgi?id=8859

is not in master yet. Attached.

Please review&push.

Thanks,

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
-------------- next part --------------
From 64163c6ad765e40b11c205aa3c4e5882ffae6699 Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Tue, 7 May 2013 10:17:26 +0200
Subject: [PATCH] winbind4: Fix bug 9832 -- talloc use after free

Signed-off-by: Volker Lendecke <vl at samba.org>
---
 source4/winbind/wb_server.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source4/winbind/wb_server.c b/source4/winbind/wb_server.c
index 335bdbc..983f9f5 100644
--- a/source4/winbind/wb_server.c
+++ b/source4/winbind/wb_server.c
@@ -56,7 +56,7 @@ static void wbsrv_call_loop(struct tevent_req *subreq)
 	if (!NT_STATUS_IS_OK(status)) {
 		const char *reason;
 
-		reason = talloc_asprintf(call, "wbsrv_call_loop: "
+		reason = talloc_asprintf(wbsrv_conn, "wbsrv_call_loop: "
 					 "tstream_read_pdu_blob_recv() - %s",
 					 nt_errstr(status));
 		if (!reason) {
-- 
1.7.9.5



More information about the samba-technical mailing list