PHP 4.0 Bug #9082 Updated: getpeername() causes seg fault
| From: | sniper@php.net | Date: | Fri, 16 Mar 2001 21:47:19 +0000 |
| Subject: | PHP 4.0 Bug #9082 Updated: getpeername() causes seg fault | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-49124@lists.php.net to get a copy of this message | ||
ID: 9082
Updated by: sniper
Reported By: colin@php.net
Status: Feedback
Bug Type: Sockets related
Assigned To:
Comments:
Is this fixed or not?
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-02-03 02:17:58] mathieu@php.net
[Status change]
and:
heh dunno wether it still does what it oughta now though :PPPP
can't test in your environment
---------------------------------------------------------------------------
[2001-02-02 15:57:06] cmv@php.net
Fixed in CVS ... thanks mathieu.
---------------------------------------------------------------------------
[2001-02-02 15:26:38] mathieu@php.net
[Status change]
and:
heh dunno wether it still does what it oughta now though :PPPP
can't test in your environment
---------------------------------------------------------------------------
[2001-02-02 14:46:52] mathieu@php.net
[Status change]
and:
heh dunno wether it still does what it oughta now though :PPPP
can't test in your environment
---------------------------------------------------------------------------
[2001-02-02 14:45:19] mathieu@php.net
Colin
For now I'm not in the CVS thingy to write to the PHP tree, but:
What fixed it for me is putting:
if (ZEND_NUM_ARGS() == 2)
MAKE_STD_ZVAL(*port);
after the ifstatement containing the zend_get_parameters().
-- CaPS
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9082&edit=2