ID:               44028
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mlemos at acm dot org
-Status:           Open
+Status:           Closed
 Bug Type:         Sockets related
 Operating System: Any
 PHP Version:      5.2.5
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2008-02-03 03:43:11] mlemos at acm dot org

Description:
------------
When calling the enable argument of stream_socket_enable_crypto is
true, I the crypto type argument is not really optional, as the
documentation suggests.

So, I supposed if you call stream_socket_enable_crypto with enable
argument true and omit crypto_type, it would assume you want to enable
client SSL/TLS negotiation, but instead PHP crashes.

Reproduce code:
---------------
stream_socket_enable_crypto($socket, true);

Expected result:
----------------
Fail warning the user that the crypto_type must be specified.

Actual result:
--------------
Segmentation fault .,


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=44028&edit=1

Reply via email to