winbind4: Fix bug 9832 -- talloc use after free
authorVolker Lendecke <vl@samba.org>
Mon, 29 Apr 2013 16:40:08 +0000 (18:40 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 30 Apr 2013 07:11:15 +0000 (09:11 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/winbind/wb_server.c

index f0367498a389f74cd7cf34058b9f3e83f936efb4..335bdbcad7f1c3633032444f9ec24b8899e4a32c 100644 (file)
@@ -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) {