From 7f8740c0acfbd9f18971dec233140822053d9b67 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 a8ffc31778c..600bce35ee7 100644 --- a/source3/winbindd/winbindd.c +++ b/source3/winbindd/winbindd.c @@ -1057,7 +1057,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.4.GIT