s3: Remove debug_ctx()
authorVolker Lendecke <vl@samba.org>
Tue, 3 Nov 2009 09:59:18 +0000 (10:59 +0100)
committerVolker Lendecke <vl@samba.org>
Tue, 3 Nov 2009 10:30:00 +0000 (11:30 +0100)
commitb067a5e4e83556d11a68ea1837ce4698762c123d
tree89eb5bcf6046db6f478e28846ddd74e22879e2d4
parent558e2deda6798e06a6a64a25312b514566c38f66
s3: Remove debug_ctx()

smbd just crashed on me: In a debug message I called a routine preparing a
string that itself used debug_ctx. The outer routine also used it after the
inner routine had returned. It was still referencing the talloc context
that the outer debug_ctx() had given us, which the inner DEBUG had already
freed.
13 files changed:
source3/include/proto.h
source3/lib/debug.c
source3/lib/util_sid.c
source3/libsmb/trusts_util.c
source3/locking/brlock.c
source3/locking/locking.c
source3/passdb/pdb_ads.c
source3/rpc_client/cli_pipe.c
source3/rpc_parse/parse_prs.c
source3/smbd/change_trust_pw.c
source3/smbd/filename_util.c
source3/smbd/oplock.c
source3/smbd/oplock_onefs.c