Florin Crișan
b7a22d380e
ITS#10101 libldap: fix double sb_close when first TLS connection fails
2023-09-21 17:34:59 +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
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
Howard Chu
139831a5c0
ITS#9916 liblmdb: use alternate MDB_page2 struct for some accesses
...
fakepage pointers are only guaranteed to be 2-byte aligned. Use a
2-byte aligned struct definition when referencing 2-byte page members
if a page pointer possibly points to a fakepage.
2022-11-28 23:18:56 +00:00
Quanah Gibson-Mount
0c2168993b
ITS#9806
2022-11-28 17:51:38 +00:00
Howard Chu
d2fa5806d8
ITS#9806 LMDB page_split: key threshold depends on page size
...
32 was chosen for page size of 4KB. Not large nough for 16KB pages.
2022-11-28 14:32:33 +00:00
Howard Chu
e85a624663
ITS#9899 fix use of non-standard u_char/u_int types
2022-10-26 16:33:30 +01:00
Howard Chu
41f87c53ec
ITS#9937 libldap: fix put_simple_filter() with invalid filter
...
Add check for trivial input string.
2022-10-20 12:38:02 +01:00
Connor Smith
6489b6a857
ITS#9925 Fix some ancient #ifdef checks
...
Use #elif defined(...) for HAVE_WINSOCK and MACOS. All other instances
of these macros use #ifdef or similar. A compiler may warn about them
not being defined.
In libraries/liblber/sockbuf.c, (DOS && PCNFS) and (DOS && NCSA) were
replaced with HAVE_PCNFS and HAVE_NCSA, respectively. It seems logical
to do the same at the only remaining occurrence of DOS, PCNFS, and NCSA.
Use #if HARDCODE_DATA consistently, replacing two instances of #ifdef.
HARDCODE_DATA is always defined, and this way you can set HARDCODE_DATA
to 0 and have it work, rather than it going down the wrong branch and
failing in these two cases.
2022-10-13 03:37:47 +00:00
Quanah Gibson-Mount
9de1273a63
Merge remote-tracking branch 'origin/mdb.RE/0.9'
2022-10-04 15:50:15 +00:00
Quanah Gibson-Mount
d87d682b6d
Prepare for release (0.9.30)
2022-10-04 14:23:03 +00:00
Quanah Gibson-Mount
ca7128ad35
ITS#9919
2022-10-03 16:40:10 +00:00
Mike Hommey
abe36745d2
ITS#9919 - Mark infrequently used functions as cold rather than manually putting them in a separate section
2022-09-27 17:30:48 +01:00
Quanah Gibson-Mount
b181666eec
ITS#9030
2022-09-26 16:52:55 +00:00
Mike Hommey
4bb20ed082
ITS#9030 - Use sys/cachectl.h rather than asm/cachectl.h on mips
...
It also contains the cacheflush function declaration.
2022-09-23 02:39:27 +01:00
Ondřej Kuzník
1220282dd5
ITS#8196/ITS#9714 Switch to xorshift
2022-09-19 16:32:39 +00:00
Ondřej Kuzník
9d528c111d
ITS#9817 One more leak plugged
2022-09-02 16:49:45 +01:00
Ondřej Kuzník
4697f4b3e0
ITS#9817 Fix leaks and nul-terminate string passed to ldap_bv2dn
2022-09-01 10:09:27 +01:00
Howard Chu
3f2abd0b2e
ITS#9904 ldap_url_parsehosts: check for strdup failure
...
Avoid unnecessary strdup in IPv6 addr parsing, check for strdup
failure when dup'ing scheme.
Code present since 2000, 8da110a9e7
2022-08-25 17:01:13 +01:00
Howard Chu
ea8dd2d279
ITS#9904 ldif_open_url: check for ber_strdup failure
...
Code present since 1999, df8f7cbb9b
2022-08-24 14:40:51 +01:00
moneromooo-monero
8a76450336
lmdb: catch non-LMDB negative errors before strerror
...
That should hopefully shut coverity up
2022-08-22 18:51:32 +00:00
Michael Osipov
519e0c94c9
ITS#9901 libldap: fix non-std printf %p arguments
2022-08-22 16:44:05 +00:00
Howard Chu
6c9eea7306
ITS#9899 libldap: fix non-std syntax in cyrus.c
...
Broken in 3cd50fa8b3 for ITS#9189
2022-08-22 16:44:05 +00:00
Howard Chu
aef1c05089
ITS#9894 don't use gmake-specific features
2022-08-15 20:53:03 +00:00
Howard Chu
d47f212679
Add nonstd cbind SASL secprop
...
For Cyrus SASL 2.2, 8735185e9d
2022-07-28 15:46:07 +00:00
Ondřej Kuzník
c07e961d40
ITS#9876 Some more leaks plugged
2022-07-08 15:45:55 +00:00