|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-04-14 10:01 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 12:00:01 2025 UTC |
Description: ------------ stream_socket_server() memory leaks when the port is not allowed such as 23 and when the php version is compiled by --enable-debug Reproduce code: --------------- <?php stream_socket_server("tcp://127.0.0.1:23"); ?> ~ Actual result: -------------- Warning: stream_socket_server(): unable to connect to tcp://127.0.0.1:23 (Permission denied) in /home/sqchen/ty.php on line 2 [Fri Apr 14 11:02:28 2006] Script: 'ty.php' /home/sqchen/sqchen/php-5.1.2/main/network.c(938) : Freeing 0x083F2E2C (18 bytes), script=ty.php === Total 1 memory leaks detected ===