Commit Graph

21635 Commits

Author SHA1 Message Date
Howard Chu
14a3efa48a plug unlikely memleak (coverity) 2015-01-13 22:48:07 +00:00
Howard Chu
74d89e567c plug memleak in cr index (coverity) 2015-01-13 22:01:17 +00:00
Howard Chu
19af642a2d ACL write/manage fixes (coverity) 2015-01-13 21:43:22 +00:00
Howard Chu
9e69e0b559 Plug unlikely memleak (coverity) 2015-01-13 21:13:46 +00:00
Howard Chu
7d483f7aba Fix dangling lock (coverity) 2015-01-13 21:13:46 +00:00
Howard Chu
08f5aca7db Plug unlikely memleak (coverity) 2015-01-13 20:38:38 +00:00
Howard Chu
a69da18849 plug benign leak (coverity) 2015-01-13 19:59:41 +00:00
Howard Chu
97d6a4fe3e Fix unused fprintf arg (coverity) 2015-01-13 19:23:51 +00:00
Howard Chu
ea80418cfc Fix potential null deref (coverity) 2015-01-13 19:22:42 +00:00
Howard Chu
975dce7ffb varargs cleanup (coverity) 2015-01-13 18:32:28 +00:00
Howard Chu
79cce59ad4 Fix insecure chroot (coverity) 2015-01-13 18:23:16 +00:00
Howard Chu
9710c2b17b Fix argument order for ucisprop (coverity) 2015-01-13 18:20:36 +00:00
Howard Chu
2cf553563b Fix fprintf format (coverity) 2015-01-13 18:11:49 +00:00
Quanah Gibson-Mount
9328a41f49 Merge remote-tracking branch 'origin/mdb.RE/0.9' 2015-01-13 10:24:08 -06:00
Howard Chu
ae6347bac1 ITS#8022 an async connect may still succeed immediately 2015-01-12 22:27:58 +00:00
Howard Chu
6046584531 ITS#8022 don't skip TLS init for ldaps:// targets 2015-01-12 22:25:53 +00:00
Hallvard Furuseth
0599dee9d4 ITS#8021 doc: Don't mix MDB_WRITEMAP + non-WRITEMAP 2015-01-12 12:20:31 +01:00
Howard Chu
bf3961e3c7 More cleanup for fdatasync hack 2015-01-12 10:41:32 +00:00
Howard Chu
e85c944a3a Tweak conditionals for fdatasync hack 2015-01-11 11:41:08 +00:00
Howard Chu
0b9f42d1f4 ITS#8021 env_sync is invalid in RDONLY env 2015-01-09 11:25:07 +00:00
Howard Chu
4500d49f36 fdatasync hack, again
Check for ext3/ext4 fs, then check kernel version.
2015-01-08 13:03:55 +00:00
Howard Chu
888a76f651 Revert "Fix prev commit for env_sync0"
This reverts commit e95c9231fc.

Revert "Hack for potential ext3/ext4 corruption issue"

This reverts commit 91155b9d67.
2015-01-08 12:57:08 +00:00
Howard Chu
fa255d0fed ITS#8020 fix 64bit hash finalizer 2015-01-07 17:48:49 +00:00
Howard Chu
9266a43d6c ITS#8016 return errmsg for unknown envflags 2015-01-05 09:37:27 +00:00
Leo Yuriev
67a65ec701 ITS#8011: few corrections for lmdb-backend;
dn2id.c:
  + assertion for mdb_id2l_insert() result;
  - unnecessary assignment;

search.c:
  - unused variable 'first';
  + range-check for mdb_idl_search() result;
2015-01-04 07:41:07 +00:00
Leo Yuriev
7c2951819f ITS#5452,#8012: fix syncprov syncops freeing
Detaching a syncops record from op-list conditionally,
only when it was freed by syncprov_free_syncop.

The syncprov_free_syncop() and syncprov_drop_psearch() now
returns a flag, which is nonzero if the given syncops was freed.
2015-01-04 07:27:29 +00:00
Howard Chu
0b2438fbec ITS#8013 fix syncprov_matchops test_filter usage 2015-01-04 07:20:41 +00:00
Howard Chu
c5cc2f241f ITS#8014 plug onetime leak in slapadd -w 2015-01-04 07:01:47 +00:00
Quanah Gibson-Mount
a8bb1769f5 Merge remote-tracking branch 'origin/mdb.RE/0.9' 2014-12-22 12:13:26 -06:00
Howard Chu
fe8b13f225 Tweak fdatasync hack description 2014-12-22 18:07:08 +00:00
Quanah Gibson-Mount
eb8c94919e Merge remote-tracking branch 'origin/mdb.RE/0.9' 2014-12-20 19:31:13 -06:00
Howard Chu
e95c9231fc Fix prev commit for env_sync0 2014-12-21 00:14:16 +00:00
Howard Chu
2930a68808 ITS#7780,#7781 fix prev commit 2014-12-18 19:35:09 +00:00
Ondřej Kuzník
8958d2b7cb ITS#7780,ITS#7781 Fix slapo-constraint with 0 count 2014-12-18 19:34:55 +00:00
Ondřej Kuzník
349c401698 ITS#7781 Add test 2014-12-18 19:34:42 +00:00
Quanah Gibson-Mount
5e028ae839 Merge remote-tracking branch 'origin/mdb.RE/0.9' 2014-12-17 23:39:37 -06:00
Howard Chu
02495837dc Update for fsync hack 2014-12-18 04:46:43 +00:00
Howard Chu
91155b9d67 Hack for potential ext3/ext4 corruption issue
Use regular fsync() if we think this commit grew the DB file.
2014-12-18 04:45:02 +00:00
Quanah Gibson-Mount
bae699bfd9 Merge remote-tracking branch 'origin/mdb.RE/0.9' 2014-12-17 13:21:24 -06:00
Howard Chu
e6ac9c2314 Update for 0.9.15 2014-12-17 15:29:48 +00:00
Howard Chu
e8771b785c ITS#8007 fix d06f5e7c1b
duplicate OID, oops
2014-12-16 20:08:32 +00:00
SATOH Fumiyasu
ea58e1ee55 ITS#7782 tweak contrib/slapd-modules/**/Makefile
Set LDAP_BUILD=$(LDAP_SRC) by default
2014-12-16 19:52:44 +00:00
Quanah Gibson-Mount
ef95ee1755 Merge remote-tracking branch 'origin/mdb.RE/0.9' 2014-12-16 02:01:33 -06:00
Howard Chu
d06f5e7c1b ITS#8007 Add maxentrysize config option 2014-12-15 21:35:48 +00:00
Howard Chu
a0accc86f2 Fix MDB_APPEND doc
We actually compare the new key against the last key, to prevent
corruption.
2014-12-15 20:45:02 +00:00
Hallvard Furuseth
f1417e2634 make clean: remove *.lo 2014-12-15 20:44:42 +00:00
Howard Chu
dcccd8a89a Clarify mdb_dbi_open doc
The concurrency restriction is on threads within a single process.
Multiple processes can use mdb_dbi_open without affecting each other.
2014-12-15 20:44:30 +00:00
Howard Chu
a8bfed69fd ITS#8006 Use rootdn consistently on internal ops 2014-12-15 20:20:23 +00:00
Howard Chu
c8353f7acd ITS#8003 fix off-by-one in LDIF length
must account for leading space when counting total number of lines
2014-12-15 14:36:55 +00:00
Ondřej Kuzník
508f4158bc ITS#7797 Fix segfault in slapo-collect 2014-12-12 01:35:30 +00:00