From 02e41a6d2a5fd2db87a69f41576d50b05f732c7d Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 7 May 2013 10:17:26 +0200 Subject: [PATCH] winbind4: Fix bug 9832 -- talloc use after free --- source4/winbind/wb_server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/winbind/wb_server.c b/source4/winbind/wb_server.c index a904470..3392353 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) { @@ -75,7 +75,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