Bug #54230 [Fbk->NoF]: stream_socket_accept leaks memory on SSL protocol using peer parameter

From: Date: Sun, 08 Aug 2021 04:22:08 +0000
Subject: Bug #54230 [Fbk->NoF]: stream_socket_accept leaks memory on SSL protocol using peer parameter
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-235665@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=54230&edit=1 ID: 54230 Updated by: php-bugs@lists.php.net Reported by: bas at baspeters dot com Summary: stream_socket_accept leaks memory on SSL protocol using peer parameter -Status: Feedback +Status: No Feedback Type: Bug Package: Streams related Operating System: Linux, FreeBSD, OSX PHP Version: 5.3.5 Assigned To: cmb Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2021-07-27 13:31:26] cmb@php.net Does this still happen to you with any of the actively supported PHP versions[1]? [1] <https://www.php.net/supported-versions.php> ------------------------------------------------------------------------ [2011-05-09 16:23:43] cataphract@php.net I can reproduce, but it's time sensitive. ------------------------------------------------------------------------ [2011-03-14 19:18:39] bas at baspeters dot com I have managed to reproduce this behavior on the following systems: FreeBSD 6.2 - PHP 5.4.2 - OpenSSL 0.9.7e-p1 FreeBSD 6.1 - PHP 5.2.0 - OpenSSL 0.9.7e-p1 Centos 2.6.18-194.32.1.el5 - PHP 5.3.5 - OpenSSL 0.9.8e-fips-rhel5 OSX 10.6.6 - PHP 5.3.5 - OpenSSL 1.0.0d Memory leak may be accelerated by pressing and holding F5 / CTRL-R / CMD-R in the browser window causing it to refresh at a rapid pace. ------------------------------------------------------------------------ [2011-03-12 00:14:28] felipe@php.net I can't reproduce it. (OpenSSL 0.9.8g) int(348020) int(348236) int(348236) int(348236) int(348236) int(348236) int(348236) int(348236) int(348236) int(348236) int(348236) ------------------------------------------------------------------------ [2011-03-11 21:38:40] bas at baspeters dot com For those who want to test but are unable to supply the required certificate.pem file, here is a link: http://www.baspeters.com/patches/certificate.pem password is 'password' as stated in the test script. I have changed the Package from 'OpenSSL' to 'Sockets related' because I think it is a better match. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=54230 -- Edit this bug report at https://bugs.php.net/bug.php?id=54230&edit=1

« previous php.bugs (#235665) next »