Bug #79773 [PATCH]: Memory bugs in ldap extension

From: Date: Fri, 03 Jul 2020 14:33:38 +0000
Subject: Bug #79773 [PATCH]: Memory bugs in ldap extension
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-227788@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 Patch added by: ptomulik@meil.pw.edu.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: 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 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#227788) next »