Commit graph

4925 commits

Author SHA1 Message Date
Howard Chu
a5953812f0 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-02-18 10:57:07 +00:00
Howard Chu
5e13ef87a9 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-02-13 17:29:05 +00:00
johan pascal
5a45cf6087 ITS#10014 Non blocking TLS session accept for mbedtls handle 2024-01-30 16:25:41 +00:00
Quanah Gibson-Mount
9fa4626497 Merge remote-tracking branch 'origin/mdb.RE/0.9' 2024-01-29 18:21:14 +00:00
Quanah Gibson-Mount
e96d8dfa39 Prep for release 2024-01-29 18:20:26 +00:00
Quanah Gibson-Mount
dc7a286207 Merge remote-tracking branch 'origin/mdb.RE/0.9' 2024-01-20 22:31:58 +00:00
Howard Chu
5eb93a3b8a ITS#10125: fix bad merge
From ac011b2c5a
2024-01-20 21:16:17 +00:00
Quanah Gibson-Mount
6973baf416 ITS#10137 2024-01-16 20:30:34 +00:00
Clément Renault
95670e37c9 ITS#10137 LMDB: Allow users to define MDB_IDL_LOGN 2024-01-16 20:30:01 +00:00
Quanah Gibson-Mount
7c55484ee1 ITS#10150 - Remove dead code
Remove dead code for ancient version of macos
2024-01-12 15:11:27 +00:00
Quanah Gibson-Mount
ea975636ab ITS#9378, ITS#10125 2024-01-11 22:35:25 +00:00
Howard Chu
ac011b2c5a ITS#10125 mdb_load: fix cursor reinit in Append mode 2024-01-11 22:33:43 +00:00
Howard Chu
9bafe54967 ITS#9378 Add replay tool
Reads a replay log and executes all the write ops
2024-01-09 17:41:21 +00:00
Howard Chu
4a19b804cf ITS#9378 Add explicit replay logging
Logs essential ops so they can be replayed.
Ignores read ops for now.
2024-01-09 17:27:59 +00:00
Howard Chu
e40d3640a7 ITS#10145 ldap_url_parse_ext: fail earlier on bad URL enclosure 2023-12-16 14:01:46 +00:00
Howard Chu
4c80d78dcc ITS#10144 libldap: RDNs must contain at least 1 AVA 2023-12-16 12:47:55 +00:00
Howard Chu
f196fa17dc ITS#10124 libldap: fix dhparam init with OpenSSL 3.x 2023-11-06 09:08:43 +00:00
hyc
0ec664b0da ITS#10100 fix Windows timestamps
Simplify, instead of trying to maintain offset between performance
counter and systemtime, just use performance counter.
2023-10-23 19:47:23 +00:00
Quanah Gibson-Mount
31ba06e1da ITS#10095 2023-10-23 19:45:12 +00:00
Howard Chu
8c482cec9a ITS#10094 libldap/OpenSSL: fix setting ciphersuites
Don't try old-style ciphersuite list if only v1.3 or newer ciphers were specified
2023-10-20 16:33:02 +00:00
Howard Chu
5c7b096b3c ITS#10105 liblber lutil_debug: ensure msg ends with NL 2023-10-02 18:53:23 +01:00
Florin Crișan
b7a22d380e ITS#10101 libldap: fix double sb_close when first TLS connection fails 2023-09-21 17:34:59 +01:00
Howard Chu
ce200dca1d ITS#10095 partial revert of ITS#9278 2fd44e3251
The patch was incorrect and introduced numerous race conditions.
The original problem was a FreeBSD bug, subsequently fixed:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269277
2023-08-27 15:40:34 +01:00
Ondřej Kuzník
4b7b2172d9 ITS#10060 Try harder to find a finished operation with msgid=LDAP_RES_ANY 2023-07-19 14:53:47 +00:00
Ondřej Kuzník
3676f3ad69 ITS#10060 Return tag of last message if all=LDAP_MSG_ALL 2023-07-19 14:53:47 +00:00
Quanah Gibson-Mount
392d6b53de Return to engineering 2023-07-10 21:20:16 +00:00
Quanah Gibson-Mount
58b203d699 Merge remote-tracking branch 'origin/mdb.RE/0.9' 2023-07-10 16:22:45 +00:00
Quanah Gibson-Mount
ce201088de Update release date for LMDB 0.9.31 2023-07-10 16:09:21 +00:00
Quanah Gibson-Mount
051fb0bbfe Prep for release 2023-06-26 16:54:11 +00:00
Howard Chu
337455eb3a ITS#9952 libldap: use atexit for TLS teardown 2023-05-31 16:04:15 +00:00
Quanah Gibson-Mount
ffeb6f0de5 Merge remote-tracking branch 'origin/mdb.RE/0.9' 2023-05-25 19:38:28 +00:00
Quanah Gibson-Mount
887d3b3077 ITS#8447 2023-05-25 19:37:01 +00:00
Howard Chu
76bad923f7 ITS#8447 fix cursor_put(MDB_CURRENT) on DUPSORT DB with different-sized data 2023-05-25 19:33:44 +00:00
Ian Puleston
12d2382b53 ITS#10023 libldap: fix asynch connects
This is option #1
2023-05-25 16:56:00 +00:00
Ondřej Kuzník
8eef957f0e ITS#10053 Remove irrelevant dependency and file 2023-05-15 13:26:49 +01:00
johan pascal
f7e6c71e13 ITS#10014: Add TLS handle using MbedTLS 2023-03-31 05:19:30 +00:00
Ian Puleston
818e2a5455 ITS#10035 Fix setting TLSv1.3 ciphersuite 2023-03-31 02:15:49 +01:00
Howard Chu
9682229983 ITS#10015 libldap: fix KEEPALIVE opts from ITS#9490 2023-02-22 11:33:16 +00:00
Howard Chu
12ff3a90d4 ITS#10004: librewrite: plug potential ld leak in ldapmap 2023-02-17 15:52:35 +00:00
Howard Chu
372b40ad18 ITS#10003: ldap_open_internal_connection: fix mutex usage
Note: this is a non-standard function with no use cases
2023-02-17 15:52:35 +00:00
Howard Chu
d9507a834c \ITS#9996 librewrite plug potential leak in ldapmap map_ldap_apply() 2023-02-17 15:52:35 +00:00
Quanah Gibson-Mount
137fef056d Return to engineering 2023-02-13 20:04:45 +00:00
Quanah Gibson-Mount
ee5565a600 Merge remote-tracking branch 'origin/mdb.RE/0.9' 2023-02-08 18:46:30 +00:00
Quanah Gibson-Mount
8f44dca45d Update MDB_VERSION_DATE for the release 2023-02-08 18:41:37 +00:00
Quanah Gibson-Mount
05b582ac0c Update release date for 0.9.30 2023-02-08 18:40:04 +00:00
Ondřej Kuzník
12bf5a95ba ITS#9045 rlock only if there may be other threads
We can't rlock if we've registered ourselves as a writer. We can only
figure that out by checking if we're the thread that initiated the
pause: is the server paused already?
2023-01-23 11:53:36 +00:00
Howard Chu
54fae7711f ITS#9961 LMDB: fix MSVC error 2022-12-15 09:38:45 +00:00
Quanah Gibson-Mount
10d4461634 Merge remote-tracking branch 'origin/mdb.RE/0.9' 2022-12-05 16:21:51 +00:00
Howard Chu
31e6efeb07 ITS#9955 liblunicode: fix buffer size in UTF8bvnormalize
output buffer may overrun 1 byte for specially crafted approxMatch search filters.
Not exploitable, no operational or security impact.
2022-12-01 14:58:37 +00:00
Howard Chu
f16ef18fc9 ITS#9916 2022-11-28 23:41:00 +00:00