History log of /PHP-8.3/ext/ldap/ldap.c (Results 51 – 75 of 473)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.4.5RC1, php-7.3.17RC1, php-7.3.18, php-7.4.4, php-7.2.29, php-7.3.16, php-7.4.4RC1, php-7.3.16RC1, php-7.4.3, php-7.2.28
# c3e65d90 06-Feb-2020 George Peter Banyard

Fix [-Wtype-limits] warning in LDAP by removing unnecessary condition

As context is a pointer to a berval struct and bv_len is of type
ber_len_t [1] which it self is defined as an unsign

Fix [-Wtype-limits] warning in LDAP by removing unnecessary condition

As context is a pointer to a berval struct and bv_len is of type
ber_len_t [1] which it self is defined as an unsigned integer [2]
this condition is always true.

[1] https://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=blob;f=include/lber.h#l212
[2] https://www.openldap.org/software//man.cgi?query=ber_free&sektion=3&apropos=0&manpath=OpenLDAP+2.4-Release

show more ...


Revision tags: php-7.3.15RC1, php-7.4.3RC1, php-7.3.15, php-7.2.27, php-7.4.2, php-7.3.14
# d1764ca3 15-Jan-2020 Máté Kocsis

Make error messages more consistent by fixing capitalization

Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable.


Revision tags: php-7.3.14RC1, php-7.4.2RC1
# 1abea33b 03-Jan-2020 Máté Kocsis

Fix usage of RETURN_THROWS() in LDAP extension


# aadd3aae 03-Jan-2020 Máté Kocsis

Use RETURN_THROWS() in various places


# bbcfa66e 03-Jan-2020 Máté Kocsis

Use RETURN_THROWS() after zend_fetch_resource*()


# d694edae 31-Dec-2019 Christoph M. Becker

Fix erroneous change


# 34570372 31-Dec-2019 Máté Kocsis

Use RETURN_THROWS() during ZPP in most of the extensions

Except for some bigger ones: reflection, sodium, spl


Revision tags: php-7.4.1, php-7.2.26, php-7.3.13, php-7.4.1RC1, php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1
# 94938934 29-Oct-2019 Máté Kocsis

Cleanup return values when parameter parsing is unsuccessful


Revision tags: php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3, php-7.2.23, php-7.3.10
# 72e3b252 23-Sep-2019 Stephen Reay

Adding ldap stubs for arginfo


# 5d6e923d 24-Sep-2019 Gabriel Caruso

Remove mention of PHP major version in Copyright headers

Closes GH-4732.


Revision tags: php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1
# 025ff3b5 30-Aug-2019 Nikita Popov

Remove nsldap support

The newest version we're checking (libssldap50) seems to be about
15 years out of date. We could add support for libssldap60 (also
unmainted, but more recent),

Remove nsldap support

The newest version we're checking (libssldap50) seems to be about
15 years out of date. We could add support for libssldap60 (also
unmainted, but more recent), but given how nobody has expressed any
interest in this, I'm going ahead and dropping this code.

show more ...


# 48ff226c 29-Aug-2019 Nikita Popov

Fix potentially uninitialized use in ldap

If ctrl->ldctl_value.bv_len is zero context is uninitialized. Only
free it if the call took place and succeeded.


Revision tags: php-7.1.32, php-7.2.22, php-7.3.9
# ac40d0ff 24-Aug-2019 Christoph M. Becker

Don't modify arrays passed by value


# 85b17a04 20-Aug-2019 Nikita Popov

Remove some unnecessary RETURN_FALSE


Revision tags: php-7.4.0beta4
# 963b40c9 20-Aug-2019 Christoph M. Becker

Don't use C++ style comments

Cf. <https://github.com/php/php-src/blob/f45b61b8988b5b2d80dd4a1df7edd04282cf319a/CODING_STANDARDS.md#syntax-and-indentation>

cc @mcmic


Revision tags: php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1, php-7.2.21RC1, php-7.3.8RC1, php-7.4.0alpha3, php-7.3.7, php-7.2.20
# 80958d0f 25-Jun-2019 Nikita Popov

Use ldap_destroy instead of ldap_unbind_ext


Revision tags: php-7.4.0alpha2, php-7.3.7RC3, php-7.3.7RC2, php-7.2.20RC2
# 98457b6d 14-Jun-2019 Nikita Popov

Fix some leaks in ldap

The result of zval_get_string() needs to be released. In some places
where it is inconvenient to manage, I went back to convert_to_string.
It is safe in those

Fix some leaks in ldap

The result of zval_get_string() needs to be released. In some places
where it is inconvenient to manage, I went back to convert_to_string.
It is safe in those places due to existing array separations.

Also fix a preexisting leak when getting controls, the previous
value was not destroyed.

show more ...


# 5d2fe487 13-Jun-2019 Côme Chilliet

Some more string conversion handling, fixing bug #77958


# c219d8d5 13-Jun-2019 Côme Chilliet

Avoid converting zval when not needed

Also added exception checks so that exception from __toString are
correctly handled in the future


Revision tags: php-7.4.0alpha1, php-7.3.7RC1, php-7.2.20RC1
# 9d610366 05-Jun-2019 Hugh McMaster

ext/ldap: Use PKG_CHECK_MODULES to detect the libsasl2 library


Revision tags: php-7.2.19, php-7.3.6, php-7.1.30, php-7.2.19RC1, php-7.3.6RC1, php-7.1.29, php-7.2.18, php-7.3.5
# e188e417 24-Apr-2019 Dmitry Stogov

Use ZEND_TRY_ASSIGN_REF_... macros for arguments passed to internal function by reference


# 34db0756 24-Apr-2019 Dmitry Stogov

Use ZEND_TRA_ASSIGN_REF_... macros for by reference arguments of internal functions.


Revision tags: php-7.2.18RC1, php-7.3.5RC1
# ea0f2642 15-Apr-2019 Côme Chilliet

Fix a NULL dereferencing crash in php-ldap

This happens when parsing a control response to a VLV request which does
not contain a "context" string.

See bug #77869


Revision tags: php-7.2.17, php-7.3.4, php-7.1.28, php-7.3.4RC1, php-7.2.17RC1
# f1b306fe 12-Mar-2019 Dmitry Stogov

Switch to use ZTS cache


Revision tags: php-7.1.27, php-7.3.3, php-7.2.16, php-7.3.3RC1, php-7.2.16RC1, php-7.2.15, php-7.3.2
# f0ddc93f 04-Feb-2019 Côme Chilliet

Removed ldap_sort and LDAP_DEPRECATED build flag

ldap_sort was deprecated in PHP7, it is now removed.
This allows removing the LDAP_DEPRECATED flag when building against
openldap.


12345678910>>...19