svn commit: samba r2671 - in branches/SAMBA_4_0/source: include lib lib/registry/common lib/registry/reg_backend_rpc lib/socket libcli libcli/auth libcli/ldap libcli/raw libcli/util librpc/ndr librpc/rpc ntvfs ntvfs/ipc ntvfs/posix ntvfs/simple rpc_server rpc_server/epmapper smb_server torture/rap torture/raw

tridge at samba.org tridge at samba.org
Mon Sep 27 01:36:20 GMT 2004


Author: tridge
Date: 2004-09-27 01:36:19 +0000 (Mon, 27 Sep 2004)
New Revision: 2671

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source&rev=2671&nolog=1

Log:
we're getting too many errors caused by the talloc_realloc() API not
taking a context (so when you pass a NULL pointer you end up with
memory in a top level context). Fixed it by changing the API to take a
context. The context is only used if the pointer you are reallocing is
NULL.

Modified:
   branches/SAMBA_4_0/source/include/talloc.h
   branches/SAMBA_4_0/source/lib/charcnv.c
   branches/SAMBA_4_0/source/lib/registry/common/reg_interface.c
   branches/SAMBA_4_0/source/lib/registry/reg_backend_rpc/reg_backend_rpc.c
   branches/SAMBA_4_0/source/lib/socket/socket_ipv4.c
   branches/SAMBA_4_0/source/lib/talloc.c
   branches/SAMBA_4_0/source/lib/util_str.c
   branches/SAMBA_4_0/source/libcli/auth/spnego_parse.c
   branches/SAMBA_4_0/source/libcli/clilist.c
   branches/SAMBA_4_0/source/libcli/ldap/ldap.c
   branches/SAMBA_4_0/source/libcli/ldap/ldap_ldif.c
   branches/SAMBA_4_0/source/libcli/raw/raweas.c
   branches/SAMBA_4_0/source/libcli/raw/rawfileinfo.c
   branches/SAMBA_4_0/source/libcli/raw/rawrequest.c
   branches/SAMBA_4_0/source/libcli/util/asn1.c
   branches/SAMBA_4_0/source/librpc/ndr/ndr.c
   branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c
   branches/SAMBA_4_0/source/librpc/rpc/dcerpc_smb.c
   branches/SAMBA_4_0/source/librpc/rpc/dcerpc_tcp.c
   branches/SAMBA_4_0/source/ntvfs/ipc/ipc_rap.c
   branches/SAMBA_4_0/source/ntvfs/ntvfs_base.c
   branches/SAMBA_4_0/source/ntvfs/posix/pvfs_dirlist.c
   branches/SAMBA_4_0/source/ntvfs/simple/svfs.h
   branches/SAMBA_4_0/source/ntvfs/simple/svfs_util.c
   branches/SAMBA_4_0/source/rpc_server/dcerpc_server.c
   branches/SAMBA_4_0/source/rpc_server/epmapper/rpc_epmapper.c
   branches/SAMBA_4_0/source/smb_server/request.c
   branches/SAMBA_4_0/source/smb_server/trans2.c
   branches/SAMBA_4_0/source/torture/rap/rap.c
   branches/SAMBA_4_0/source/torture/raw/search.c


Changeset:
Sorry, the patch is too large (651 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source&rev=2671&nolog=1


More information about the samba-cvs mailing list