summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2018-11-12 16:21:55 +0100
committerVolker Lendecke <vl@samba.org>2018-11-12 20:20:52 +0100
commit751c0cc7c4482b0546329b9aac49e76b529f0302 (patch)
treebc9a353d4905cbde785f08a644219f0788850e1f /source3/winbindd/winbindd.c
parentc10d70c43c935c5388654f78b3ac51ec43bbdf02 (diff)
downloadsamba-751c0cc7c4482b0546329b9aac49e76b529f0302.tar.gz
winbindd: Fix crash when taking profiles
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13629 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Björn Baumbach <bbaumbach@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Mon Nov 12 20:20:52 CET 2018 on sn-devel-144
Diffstat (limited to 'source3/winbindd/winbindd.c')
-rw-r--r--source3/winbindd/winbindd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index 86c3cd95244..d2c005bc8ff 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -1065,7 +1065,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));