]> git.ipfire.org Git - thirdparty/samba.git/commit
s3:smbd: consistently use talloc_tos() memory for rpc_pipe_open_interface()
authorStefan Metzmacher <metze@samba.org>
Mon, 10 Jul 2017 09:29:58 +0000 (11:29 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 13 Jul 2017 08:51:16 +0000 (10:51 +0200)
commit82f9cbab3444c547d38ca1900464e48e449a73ab
treed4f8d081ed3d715d7c044f684554aa78361d712c
parent2cae38b094e4b2e2dd5dbbb63a8f10245c1883c7
s3:smbd: consistently use talloc_tos() memory for rpc_pipe_open_interface()

The result is only used temporary and should not be leaked on a long term
memory context as 'conn'.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12890

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 77cbced5d2f8bf65c8d02f5edfaba8cbad519d08)
source3/smbd/lanman.c
source3/smbd/reply.c