summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/common/traverse.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-01-22 10:53:14 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-01-22 10:53:14 +1100
commit11061499e182b9c41ec793d4eefb8a2cf7c88bfe (patch)
treefa08fcbf21143655eb85ba79c6169b3b2eb24fdd /source4/lib/tdb/common/traverse.c
parent27b3c24040b1a7aa88413c477a3769bcd6847d72 (diff)
parent24efc9fc36194d379838eb9911b65e93535da19b (diff)
downloadsamba-11061499e182b9c41ec793d4eefb8a2cf7c88bfe.tar.gz
samba-11061499e182b9c41ec793d4eefb8a2cf7c88bfe.tar.bz2
samba-11061499e182b9c41ec793d4eefb8a2cf7c88bfe.zip
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet
(This used to be commit 74220ca244865f97825cabdbc8aa899e71c25c7d)
Diffstat (limited to 'source4/lib/tdb/common/traverse.c')
-rw-r--r--source4/lib/tdb/common/traverse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/tdb/common/traverse.c b/source4/lib/tdb/common/traverse.c
index 2bde1270a0..07b0c23858 100644
--- a/source4/lib/tdb/common/traverse.c
+++ b/source4/lib/tdb/common/traverse.c
@@ -223,6 +223,9 @@ int tdb_traverse_read(struct tdb_context *tdb,
/*
a write style traverse - needs to get the transaction lock to
prevent deadlocks
+
+ WARNING: The data buffer given to the callback fn does NOT meet the
+ alignment restrictions malloc gives you.
*/
int tdb_traverse(struct tdb_context *tdb,
tdb_traverse_func fn, void *private_data)