Hi,

I know this isn't the proper channel for a bugreport, but I think this
segfault will require a very simple fix and I hope this could be fixed
before 5.0.4 is released (so I'm posting this because of the time factor).

This code segfaults (PHP 5.0.3):

<?
  $server = stream_socket_server("tcp://0.0.0.0:12345");
  $client = stream_socket_accept($server, 3, $peername);
?>

while this doesn't:

<?
  $server = stream_socket_server("tcp://0.0.0.0:12345");
  $client = stream_socket_accept($server, 3);
?>

So the problem is obviously in the feedback variable "peername". I was
hoping this might be fixed before 5.0.4 rolls out.

Thanks,

Ron Korving

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to