Bug #79773 [Com]: Memory bugs in ldap extension
| From: | ptomulik at meil dot pw dot edu dot pl | Date: | Wed, 29 Jul 2020 08:42:15 +0000 |
| Subject: | Bug #79773 [Com]: Memory bugs in ldap extension | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-228267@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79773&edit=1
ID: 79773
Comment by: ptomulik at meil dot pw dot edu dot pl
Reported by: ptomulik at meil dot pw dot edu dot pl
Summary: Memory bugs in ldap extension
Status: Open
Type: Bug
Package: LDAP related
PHP Version: 7.3Git-2020-07-03 (Git)
Block user comment: N
Private report: N
New Comment:
Mistake. Should be #5794, not #5764.
Previous Comments:
------------------------------------------------------------------------
[2020-07-29 08:40:57] ptomulik at meil dot pw dot edu dot pl
I believe, this bug is now fixed via php-src PRs: #5764, #5799, #5801, #546, #5851.
------------------------------------------------------------------------
[2020-07-03 14:33:38] ptomulik at meil dot pw dot edu dot pl
The following pull request has been associated:
Patch Name: Enable ldap tests on azure and fix memory bugs (fix: #79773 for 8.x)
On GitHub: https://github.com/php/php-src/pull/5794
Patch: https://github.com/php/php-src/pull/5794.patch
------------------------------------------------------------------------
[2020-07-03 14:32:41] ptomulik at meil dot pw dot edu dot pl
The following pull request has been associated:
Patch Name: Fix ldap memory bugs for PHP 7.4 (fix: #79773)
On GitHub: https://github.com/php/php-src/pull/5801
Patch: https://github.com/php/php-src/pull/5801.patch
------------------------------------------------------------------------
[2020-07-03 14:32:11] ptomulik at meil dot pw dot edu dot pl
The following pull request has been associated:
Patch Name: Fix ldap memory bugs for PHP 7.3 (fix: #79773)
On GitHub: https://github.com/php/php-src/pull/5799
Patch: https://github.com/php/php-src/pull/5799.patch
------------------------------------------------------------------------
[2020-07-03 08:06:48] ptomulik at meil dot pw dot edu dot pl
Description:
------------
Memory bugs such as leaks and access to freed memory are detected by phpt tests in debug mode. This
happens in git PHP-7.3 and in git master (8.0). I guess, the same is for 7.4. This may be
replicated:
- access to freed memory: when using LDAP_CONTROL_VALUESRETURNFILTER
- memory leak: when using LDAP_CONTROL_PRE_READ, LDAP_CONTROL_POST_READ, LDAP_CONTROL_SORTREQUEST,
or ldap_exop_passwd() with 5 arguments.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79773&edit=1