diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-01-18 15:45:22 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-01-18 15:45:22 +1100 |
commit | 61a015a786c52008f4471e62750ad93507bce518 (patch) | |
tree | 2942464148744495584b3495f4d325abc3a5d758 /source4/lib/tdb/common/traverse.c | |
parent | 524d280ad09c99bcbf63d789e909afdf7edb5860 (diff) | |
download | samba-61a015a786c52008f4471e62750ad93507bce518.tar.gz samba-61a015a786c52008f4471e62750ad93507bce518.tar.bz2 samba-61a015a786c52008f4471e62750ad93507bce518.zip |
merged changes from v3-2-test
(This used to be commit 7077df3e2e3f171532f6a5ac87d45201736c9c11)
Diffstat (limited to 'source4/lib/tdb/common/traverse.c')
-rw-r--r-- | source4/lib/tdb/common/traverse.c | 3 |
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) |