Commit graph

4983 commits

Author SHA1 Message Date
Dwij Mehta
afda4781cb ITS#10430 - do not advance past NUL in get_token()
Removed pointer increment in get_token() when handling the '\0' case, preventing out-of-bounds reads.
2026-02-13 02:29:06 +00:00
Howard Chu
07f28701b8 ITS#10438 liblber: check for realloc failure in ber_bvreplace_x() 2026-02-13 01:15:36 +00:00
Ondřej Kuzník
886ab56f20 ITS#10431 Enforce a stop when encountering a nul-leading line 2026-01-29 22:19:42 +00:00
Ondřej Kuzník
d13c4ab400 ITS#10430 Do not scroll past nul bytes 2026-01-29 22:16:41 +00:00
Ondřej Kuzník
2bf4c16890 ITS#10429 Empty types are not valid LDIF, reject sooner 2026-01-29 22:15:52 +00:00
Quanah Gibson-Mount
2c43edbeb2 Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_6 2026-01-29 22:03:17 +00:00
Quanah Gibson-Mount
69087ced3c Update for LMDB 0.9.35 release 2026-01-29 21:51:48 +00:00
Quanah Gibson-Mount
2fbb28d309 ITS#10434 2026-01-29 21:51:36 +00:00
Howard Chu
33ca271e8a ITS#10434 lmdb: fix typo on MacOSX 2026-01-29 13:17:46 +00:00
Quanah Gibson-Mount
41fe4eb8ab ITS#10433 - Update copyright year 2026-01-28 17:43:58 +00:00
Quanah Gibson-Mount
01cac70aa5 Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_6 2026-01-26 19:03:11 +00:00
Quanah Gibson-Mount
03d56d5380 Prep for release (0.9.34) 2026-01-26 19:02:01 +00:00
Howard Chu
27a60451c5 ITS#10419, ITS#10420 2026-01-13 16:51:58 +00:00
Ali Caglayan
12ebcffba4 ITS#10420 LMDB: add support for Haiku 2026-01-13 16:50:24 +00:00
Ali Caglayan
4c84d3a312 ITS#10419 LMDB: add support for NetBSD 2026-01-13 16:50:17 +00:00
Quanah Gibson-Mount
4315446c76 Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_6 2026-01-12 23:59:51 +00:00
Howard Chu
f1620c3a1b ITS#10421 2026-01-06 20:53:47 +00:00
Howard Chu
46b33d2b45 ITS#10421 mdb_load: check for malicious input 2026-01-06 20:53:08 +00:00
Howard Chu
ac34db77e2 ITS#10410 lutil_strncopy: fix off by one 2025-12-15 22:58:06 +00:00
Nadezhda Ivanova
653cff66e1 ITS#10390 ldif_parse_line2 calculates an incorrect length of the attribute type 2025-11-04 16:12:47 +00:00
Nadezhda Ivanova
b8831993e3 ITS#10388 ldif_parse_line2 is not compliant with RFC2849 2025-11-04 16:12:18 +00:00
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