Howard Chu
6419933c9d
ITS#10401 liblber: fix shift of negative int in ber_decode_int()
...
There's no actual possibility of overflow but sanitizers will complain.
2025-11-04 15:49:23 +00:00
Howard Chu
d0e4dfd7c4
ITS#10400 libldap: fix NULL deref in ldap_parse_result()
...
Broken by patch for ITS#10229.
2025-11-04 15:47:57 +00:00
Quanah Gibson-Mount
88e29f8e2f
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_6
2025-11-04 15:46:54 +00:00
Howard Chu
270c543828
ITS#9564
2025-10-15 18:13:58 +01:00
Howard Chu
b807ef1345
ITS#9564 lmdb: fix race condition freeing spilled pages at end of transaction
2025-10-15 18:13:18 +01:00
Quanah Gibson-Mount
16800c72ba
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_6
2025-10-14 15:24:25 +00:00
Howard Chu
7259296081
ITS#10396 fix mdb_cursor_del0 with multiple DUPSORT cursors
2025-10-06 16:53:18 +01:00
Howard Chu
c47b113674
ITS#10396 lmdb: fix mdb_cursor_del0 with multiple DUPSORT cursors
...
Use the correct stack index when adjusting other cursors pointing to
the affected page and the DB has a subDB. Broken in ITS#8406.
2025-10-06 16:52:32 +01:00
Quanah Gibson-Mount
500ff66034
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_6
2025-09-17 17:39:34 +00:00
Caolán McNamara
74c005c3e9
ITS#10375 libldap/tls2: const up oids
...
to move it out of the .data section
2025-09-08 23:00:44 +00:00
Howard Chu
a306fce8e4
ITS#10370 libldap: don't assert on network input
2025-09-08 22:54:01 +00:00
Howard Chu
f7c1754e36
ITS#10355
2025-06-12 15:18:48 +01:00
Howard Chu
7c7988003b
ITS#10355 lmdb mplay: don't assign to stdin/stdout
2025-06-12 15:16:50 +01:00
Howard Chu
c85bcff9c5
ITS#10346
2025-06-10 20:57:48 +01:00
Mike Moritz
7f8f52e0e2
ITS#10346 lmdb: fix compacting copy with large values
2025-06-10 20:56:50 +01:00
Howard Chu
529442b4cb
ITS#10342
2025-06-10 20:43:44 +01:00
jinyaoguo
ce339e82bd
ITS#10342 lmdb: fix potential memleak in child txn_begin
2025-06-10 20:39:52 +01:00
Howard Chu
a6f1dd3169
ITS#10328 librewrite: fix substitution cleanup
2025-05-06 15:54:23 +00:00
Ondřej Kuzník
2e029d7ca8
ITS#10229 Adjust ldap_result behaviour with LDAP_MSG_RECEIVED
2025-02-19 18:03:59 +00:00
Howard Chu
ac89f42433
ITS#10296 lmdb: fix typo in prev commit
2025-02-19 09:15:27 +00:00
Howard Chu
96bffc9202
ITS#10296 fix fdatasync on MacOS
2025-01-28 17:29:56 +00:00
kero
f6b3c3d407
ITS#10296 lmdb: fix fdatasync on MacOS
...
Patch from kero, with corrections by hyc
2025-01-28 17:28:15 +00:00
Ondřej Kuzník
5645e37044
ITS#8047 Fix TLS connection timeout handling
...
The test for async in ldap_int_tls_start was inverted, we already
support calling ldap_int_tls_connect repeatedly. And so long as
LBER_SB_OPT_NEEDS_* are managed correctly, the application should be
able to do the right thing.
Might require a new result code rather than reporposing
LDAP_X_CONNECTING for this.
2024-11-12 17:55:56 +00:00
Ondřej Kuzník
637061c6ea
ITS#10263 Reject modifications with invalid whitespace
2024-11-12 17:45:48 +00:00
Ondřej Kuzník
90fc22ab2d
ITS#10264 Free NoD data we stored locally
2024-11-12 17:44:17 +00:00
Howard Chu
790ed0e911
ITS#10275 mdb_load: add -Q option to use NOSYNC for faster loading
2024-10-26 21:27:01 +01:00
Gary Wicker
c5f0ac271c
ITS#10275 mdb_load: add -Q option to use NOSYNC for faster loading
2024-10-26 21:26:17 +01:00
Ryan Tandy
bfe0b37471
ITS#10253 Fix incompatible pointer type with GnuTLS
2024-10-04 21:59:24 +00:00
Howard Chu
1d556f230f
ITS#10224 libldap: check for OpenSSL EVP_Digest* failure
2024-06-28 16:47:32 +00:00
Howard Chu
a45e1fc4eb
ITS#10223 libldap: check for OpenSSL SSL_CTX_set_ciphersuites failure
2024-06-28 16:46:13 +00:00
Quanah Gibson-Mount
f6d015dd84
ITS#10222
2024-06-28 15:55:18 +00:00
Howard Chu
c6a49d7963
LMDB: tweak mdb_load.1 manpage
...
Add missing -a option to Synopsis
2024-06-28 14:55:06 +00:00
Zach Vonler
b84c35053b
ITS#10222 LMDB: Updated mdb_dump man page
...
The -a option to mdb_load makes the previous text obsolete.
2024-06-28 14:55:01 +00:00
Quanah Gibson-Mount
54f00bd01f
Return to engineering
2024-06-24 16:56:14 +00:00
Quanah Gibson-Mount
662ccd4cc7
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_6
2024-05-21 17:16:47 +00:00
Quanah Gibson-Mount
3a29a24777
Prep for release
2024-05-21 17:16:06 +00:00
Howard Chu
051b9f05a1
ITS#10216 libldap: fix OpenSSL channel binding digest
...
The OBJ_find_ API is undocumented but this is what OpenSSL libcrypto does itself.
2024-05-21 15:42:03 +00:00
Howard Chu
1d37f7b005
ITS#10209 libldap: only use OPENSSL_INIT_NO_ATEXIT if it's defined
...
Fake OpenSSL clones like LibreSSL don't support it.
In general we will make no effort to support fake OpenSSL clones.
2024-05-09 19:08:33 +00:00
Quanah Gibson-Mount
2624ea1416
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_6
2024-05-07 17:29:40 +00:00
Quanah Gibson-Mount
fd4db20d77
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_6
2024-05-07 17:29:14 +00:00
Quanah Gibson-Mount
7c99799729
ITS#10212
2024-05-07 16:49:34 +00:00
Quanah Gibson-Mount
ccbec37209
ITS#10198
2024-05-07 16:49:00 +00:00
Howard Chu
d83d6b4ebe
ITS#10212 LMDB: better fix
2024-05-03 20:44:48 +01:00
Howard Chu
37829ce493
ITS#10212 LMDB: init txnid for read-only DBs
2024-05-02 16:33:14 +01:00
Howard Chu
d3ae7c36e5
ITS#10198 Win32 mdb_strerror - stop passing "ignored" parameter
...
The M$ docs say the parameter is ignored, but it actually isn't,
and will cause a SEGV if the pointed memory isn't an init'd va_list.
2024-04-04 07:17:35 +01:00
Quanah Gibson-Mount
fa5cf1252f
Happy New Year!
2024-03-26 19:45:35 +00:00
Howard Chu
e08b80e8b7
ITS#9952 TLS/OpenSSL: disable use of atexit()
...
This will only have any effect if libldap is the first caller to
initialize OpenSSL, but that should be all that matters when libldap
is part of a dynmically loaded module. It prevents the crash in the
example cases given.
2024-03-26 16:33:55 +00:00
Howard Chu
5e598b4371
Revert "ITS#9952 libldap: use atexit for TLS teardown"
...
This reverts commit 337455eb3a .
The change was non-portable, caused ITS#10176. OpenSSL 3 is
broken and should be fixed.
2024-03-26 16:33:50 +00:00
Quanah Gibson-Mount
7077d5e601
ITS#9037
2024-03-26 16:25:55 +00:00
Howard Chu
83dc42c5ca
ITS#9037 mdb_page_search: fix error code when DBI record is missing
...
Use the more relevant MDB_BAD_DBI instead of MDB_NOTFOUND error code
2024-03-26 14:52:42 +00:00