1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/smbd
Michael Adam 9644b6cb50 Add a talloc context parameter to current_timestring() to fix memleaks.
current_timestring used to return a string talloced to talloc_tos().
When called by DEBUG from a TALLOC_FREE, this produced messages
"no talloc stackframe around, leaking memory". For example when
used from net conf.

This also adds a temporary talloc context to alloc_sub_basic().
For this purpose, the exit strategy is slightly altered: a common
exit point is used for success and failure.

Michael
(This used to be commit 16b5800d4e)
2008-03-28 16:34:51 +01:00
..
aio.c Allow "max mux" async i/o requests 2008-02-24 11:39:59 +01:00
blocking.c Some more talloc_tos() 2008-01-10 13:19:58 +01:00
change_trust_pw.c Add a talloc context parameter to current_timestring() to fix memleaks. 2008-03-28 16:34:51 +01:00
chgpasswd.c read_socket_with_timeout_ntstatus->read_socket_with_timeout 2008-02-02 11:03:22 +01:00
close.c Add streams support 2008-01-19 23:25:36 +01:00
conn.c RIP BOOL. Convert BOOL -> bool. I found a few interesting 2007-10-18 17:40:25 -07:00
connection.c Merge CTDB-related fixes from samba-ctdb 3.0 branch (http://samba.org/~tridge/3_0-ctdb) 2008-01-16 12:09:48 +03:00
dfree.c int->bool 2007-12-10 12:22:01 +01:00
dir.c Convert OpenDir to talloc, use talloc_tos() 2008-01-12 21:04:06 +01:00
dmapi.c Fix BOOL introduced by last commit 2008-01-29 18:01:23 +03:00
dnsregister.c Fix a couple of warnings in mDNS registration. One of these is an 2007-12-19 22:33:43 -08:00
dosmode.c Make operator precedence very clear. 2008-02-06 10:31:22 -08:00
error.c Refactor the crypto code after a very helpful conversation 2008-01-04 12:56:23 -08:00
fake_file.c Bump up debug level 2007-12-02 12:54:11 +01:00
file_access.c Change the prototype of the vfs function get_nt_acl(). 2007-12-19 23:08:01 +01:00
fileio.c Remove redundant parameter fd from SMB_VFS_FTRUNCATE(). 2008-01-07 15:59:02 +01:00
filename.c Couple of minor fixes for POSIX pathname processing in the 2008-01-19 21:53:49 -08:00
files.c Release per-fsp data on file closure. 2007-12-19 22:19:55 -08:00
ipc.c Now conn is part of smb_request, we don't need it as 2008-01-04 15:37:24 -08:00
lanman.c Fix typo. 2008-02-05 16:22:59 +01:00
mangle_hash2.c Fix CID 523 - wrong null deref check. 2008-01-11 22:50:13 -08:00
mangle_hash.c Remove a static array 2007-12-28 17:02:07 +01:00
mangle.c RIP BOOL. Convert BOOL -> bool. I found a few interesting 2007-10-18 17:40:25 -07:00
map_username.c Always pass a TALLOC_CTX to str_list_make and str_list_copy 2008-02-04 20:57:49 +01:00
message.c Now conn is part of smb_request, we don't need it as 2008-01-04 15:37:24 -08:00
msdfs.c strtok -> strtok_r 2008-01-23 15:08:04 +01:00
negprot.c Now conn is part of smb_request, we don't need it as 2008-01-04 15:37:24 -08:00
noquotas.c RIP BOOL. Convert BOOL -> bool. I found a few interesting 2007-10-18 17:40:25 -07:00
notify_inotify.c Fix inotify detection 2008-02-25 12:58:56 +01:00
notify_internal.c ndr: change NTSTAUS into enum ndr_err_code (samba3 callers) 2007-11-09 21:23:16 +01:00
notify.c Coverity fixes 2008-03-17 20:52:25 +01:00
ntquotas.c Replace sid_string_static by sid_string_dbg in DEBUGs 2007-12-15 22:09:36 +01:00
nttrans.c Using Metze's S4 nttrans rename test, the nttrans rename 2008-03-11 15:26:02 -07:00
open.c Fix S3 to pass the test_raw_oplock_exclusive3 test. 2008-03-11 12:37:01 -07:00
oplock_irix.c Convert receive_smb_raw to NTSTATUS 2008-02-02 11:03:23 +01:00
oplock_linux.c Merge CTDB-related fixes from samba-ctdb 3.0 branch (http://samba.org/~tridge/3_0-ctdb) 2008-01-16 12:09:48 +03:00
oplock.c use talloc_tos in a few more places 2008-01-10 13:19:58 +01:00
password.c Ensure invalidate_vuid() deletes any ntlmssp state. 2008-02-14 18:06:16 -08:00
pipes.c Refactor the crypto code after a very helpful conversation 2008-01-04 12:56:23 -08:00
posix_acls.c posix_acls: clarify loop condition code, removing unneeded counter variable. 2008-03-27 10:09:24 +01:00
process.c Convert secrets_lock_trust_account_password to talloc 2008-03-10 21:08:45 +01:00
quotas.c Remove last pstring from smbd/*.c 2007-11-13 12:51:31 -08:00
reply.c printclose has only 1 vwv 2008-03-28 13:44:30 +01:00
seal.c Currently we don't SPNEGO negotiate back to NTLMSSP. Note this. 2008-02-14 18:07:27 -08:00
sec_ctx.c Don't switch user contexts unless you have to. Saves 2008-01-10 16:35:54 -08:00
server.c Port 3c1f1f0797e from 3-0-ctdb 2008-03-20 16:54:05 +01:00
service.c Add a debug message. 2008-03-12 02:12:34 +01:00
session.c Remove most of the remaining globals out of lib/util_sock.c. 2007-11-03 23:20:10 -07:00
sesssetup.c Fix up the comments on security=share to explain we're 2008-03-27 16:08:39 -07:00
share_access.c RIP BOOL. Convert BOOL -> bool. I found a few interesting 2007-10-18 17:40:25 -07:00
srvstr.c Match the 3.0.27a version of this function. 2007-11-16 13:14:24 -08:00
statcache.c Add a in-memory cache 2007-12-18 09:56:04 +01:00
statvfs.c Fix typo in filesystem capabilities bits. 2007-12-20 08:31:27 -08:00
trans2.c Metze pointed out this we don't need FILE_ATTRIBUTE_READ here. 2008-03-11 13:59:04 -07:00
uid.c Some simplifications 2008-03-17 21:10:16 +01:00
utmp.c Missing HAVE_UPDWTMPX check before using updwtmpx(). 2008-03-24 12:33:04 -07:00
vfs.c Combine fsp and tofd to tofsp in SMB_VFS_RECVFILE(). 2008-01-11 01:27:05 +01:00