From 9b7f3b19d3a295f454f0fe9763d10e965ff7482d Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 12 Nov 2018 16:21:55 +0100 Subject: [PATCH] winbindd: Fix crash when taking profiles Bug: https://bugzilla.samba.org/show_bug.cgi?id=13629 Signed-off-by: Volker Lendecke --- source3/winbindd/winbindd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c index 07a81329358..eb3953e75a6 100644 --- a/source3/winbindd/winbindd.c +++ b/source3/winbindd/winbindd.c @@ -1056,7 +1056,8 @@ static void winbind_client_processed(struct tevent_req *req) DBG_ERR("request took %u.%.6u seconds\n", (unsigned)diff.tv_sec, (unsigned)diff.tv_usec); - str = tevent_req_profile_string(profile, talloc_tos(), 0, depth); + str = tevent_req_profile_string( + talloc_tos(), profile, 0, depth); if (str != NULL) { /* No "\n", already contained in "str" */ DEBUGADD(0, ("%s", str)); -- 2.11.0