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
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
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
Ondřej Kuzník
1220282dd5
ITS#8196/ITS#9714 Switch to xorshift
2022-09-19 16:32:39 +00: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
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
Howard Chu
78618653c2
ITS#9876 Coverity fixes: plug memleaks
2022-07-05 03:49:34 +01:00
Howard Chu
0b78166a47
ITS#9157: check for NULL ld
2022-05-21 16:39:29 +01:00
Howard Chu
1c197bbef9
Revert "ITS#9828 Fix ldap_count_values_len pointer confusion"
...
This reverts commit 7e7fad5e03 .
2022-04-25 17:26:37 +01:00
Ondřej Kuzník
7e7fad5e03
ITS#9828 Fix ldap_count_values_len pointer confusion
2022-04-21 12:14:06 +01:00
Ondřej Kuzník
0dae0704c0
ITS#9811 Allow newlines at end of included file
2022-03-21 17:48:34 +00:00
Ondřej Kuzník
e8813b12b6
ITS#9803 Drop connection when receiving non-LDAP data
2022-03-08 17:28:05 +00:00
Howard Chu
e62d05d26c
ITS#9436 libldap: OpenSSL 3.0 compat
2022-02-03 16:42:44 +00:00
Orgad Shaneh
04093763f9
ITS#9791 Fix compilation with openssl exclusions
2022-01-25 15:41:07 +00:00
Ondřej Kuzník
f4e74d51f5
ITS#9781 Relax refcount assertion for referrals
2022-01-19 10:35:01 +00:00
Quanah Gibson-Mount
788e9592ba
Happy New Year!
2022-01-07 18:40:00 +00:00
Ondřej Kuzník
19d4a69882
ITS#9642 Notify runner of any changes to the runqueue
2021-12-15 20:40:53 +00:00
Ondřej Kuzník
e3905c9898
ITS#9596 Let libldap keep explicit port 0 as that
2021-12-14 16:30:54 +00:00
Howard Chu
69727ebbc8
ITS#9743 init client socket port
...
also silence meaningless warning
2021-11-09 18:06:18 +00:00
Quanah Gibson-Mount
4a87d7aad2
ITS#9673 - Start fully tracking symbols for versioning
2021-10-18 17:56:13 +00:00
Quanah Gibson-Mount
783fcbe8ed
ITS#9673 - Fix library symbol versioning
2021-09-20 18:00:36 +00:00
Howard Chu
d285c05106
ITS#9686 plug peercert memleak
2021-09-15 13:03:13 +01:00
Howard Chu
6c0dc99389
ITS#9668 ldap_int_tls_connect: isdigit() requires unsigned char
2021-09-06 21:14:21 +01:00
Quanah Gibson-Mount
617e6974f7
ITS#9648 - Fix request.c for MAXPATHLEN not result.c Fixes 0412814c55
2021-08-31 16:33:57 +00:00
Quanah Gibson-Mount
0412814c55
ITS#9648 - Include ac/param.h for MAXPATHLEN
2021-08-26 17:55:54 +00:00
Howard Chu
5ad6ab3568
ITS#8958 rename ldap_pvt_thread_pool_pausecheck()
...
to ..._pausewait() since that's what it really does.
Add ..._pausequery() that only checks and doesn't wait.
2021-08-12 18:59:06 +00:00
Howard Chu
ff0defdc13
ITS#6248 fix prev commit tlso_ca_list
...
Don't quit on first dir failure, try them all before giving up.
2021-07-22 23:54:25 +01:00
Howard Chu
dfcaa3f01e
ITS#6248 support multiple CAcert dirs
2021-07-22 21:07:21 +01:00
Howard Chu
2c0707cf13
ITS#9157 save TLS errmsg in ld->ld_error
2021-07-22 15:27:31 +01:00
Bin Lan
457f5bd4a9
ITS#9602 Silence warnings in libldap/tls_o.c
2021-06-29 13:16:37 +01:00
Bin Lan
3be2447dfc
ITS#9601 Silence warning in libldap/tpool.c
2021-06-29 13:16:26 +01:00
Konstantin Andreev
7bd1fac58c
ITS#9590 libldap: fix missing unlock on connection alloc failure
2021-06-24 13:40:44 +01:00
Konstantin Andreev
00529facbe
ITS#9578 ldif: terminate buf after truncating \r
2021-06-12 15:08:11 +01:00
Howard Chu
cd3567d750
ITS#9521 additional ciphersuite fixes
...
Actually check version of matched ciphersuite names.
Also, don't change existing TLS1.3 suites if none are specified
in the new suite string. Avoids ITS#9546.
2021-05-06 20:16:40 +01:00
Howard Chu
16fcba1e98
ITS#9541 fix typo in util-int.c
...
From 94fbd96826
2021-04-30 09:25:13 +01:00
Nadezhda Ivanova
db389d38ce
ITS#9502 Implement LDAP_OPT_TCP_USER_TIMEOUT
2021-04-22 21:52:12 +00:00
Howard Chu
edfc4e7ffe
ITS#9530 ldo_defbase now must be freed in ldap_ld_free()
2021-04-21 18:06:26 +01:00
Norm Green
87397b345b
ITS#9530 fix double-free of LDAP_OPT_DEFBASE
2021-04-21 18:03:43 +01:00
Ondřej Kuzník
7df2a0f394
ITS#8847 Allocate a large enough buffer
2021-04-15 15:16:19 +01:00
Andreas Schulze
680091b5b4
ITS#8586 load cert+chain from TLSCertificateFile
...
For OpenSSL
2021-04-12 20:32:09 +01:00
Howard Chu
e0dcf4c4d7
ITS#9518 fix prev commit
2021-04-09 19:29:11 +01:00
Howard Chu
fe6a740381
ITS#9521 clarify - affects OpenSSL 1.1.1, not 1.1.0
2021-04-09 18:23:53 +01:00
Howard Chu
2a3b64f4e6
ITS#9518 add LDAP_OPT_X_TLS_PROTOCOL_MAX option
...
OpenSSL only
2021-04-09 18:12:40 +01:00
Howard Chu
b72bce2400
ITS#9521 Set TLSv1.3 cipher suites for OpenSSL 1.1
2021-04-09 15:59:22 +01:00
Howard Chu
94fbd96826
ITS#9513 Change all lutil time structs to use nanoseconds
...
Instead of microseconds
2021-03-31 18:53:50 +00:00