summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-04-29 18:40:08 +0200
committerVolker Lendecke <vl@samba.org>2013-04-30 09:11:15 +0200
commitc672ef11b1ed663b6366f321d3628acf05b3d0fe (patch)
tree989ed0855869af6cd18083554ce878d93226f252
parent08d7caedf0f549d6ca61dc939d94fc267d7d54d4 (diff)
downloadsamba-c672ef11b1ed663b6366f321d3628acf05b3d0fe.tar.gz
samba-c672ef11b1ed663b6366f321d3628acf05b3d0fe.tar.bz2
samba-c672ef11b1ed663b6366f321d3628acf05b3d0fe.zip
winbind4: Fix bug 9832 -- talloc use after free
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source4/winbind/wb_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/winbind/wb_server.c b/source4/winbind/wb_server.c
index f0367498a3..335bdbcad7 100644
--- a/source4/winbind/wb_server.c
+++ b/source4/winbind/wb_server.c
@@ -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) {