CVS update: samba/source/tdb

Tim Potter tpot at au2.samba.org
Sat Jan 27 12:40:37 EST 2001


Date:	Saturday January 27, 2001 @ 12:40
Author:	tpot

Update of /data/cvs/samba/source/tdb
In directory samba:/tmp/cvs-serv23090

Modified Files:
      Tag: APPLIANCE_HEAD
	tdb.c 
Log Message:
When storing a new record, allocate memory for the key + data before the
tdb_allocate() as if the malloc fails a (sparse) hole is left in the tdb.

A similar situation also occurs when the malloc succeeds but the
(rec|tdb|ofs)_write fails.  A tdb_unallocate() or something like that
really needs to be done here but isn't currently.





More information about the samba-cvs mailing list