Test: /ext/openssl/tests/bug46127.phpt - Version 5.6.28        

Bug #46127 [PATCH] php_openssl_tcp_sockop_accept forgets to set context on accepted stream
Submitted: 2008-09-19 15:50:36 Modified: 2008-11-16 23:23:38
From: mark Assigned: pajoye
Status: Closed Package: OpenSSL related
PHP Version: 5.3CVS-2008-11-11 OS: *

There are 11 different diffs reported by users for this test.

Count Diff
2 (15%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/php/5.6-2/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/php/5.6-2/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
2 (15%)
001+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+ Segmentation fault (core dumped)
003+
004+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/src/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
005+
006+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/src/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (8%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (No route to host) in /usr/local/src/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (8%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /opt/coolstack/src/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: fgets() expects parameter 1 to be resource, boolean given in /opt/coolstack/src/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (8%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /data/html/software/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: fgets() expects parameter 1 to be resource, boolean given in /data/html/software/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (8%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /usr/local/src/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (8%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /export/projects/opensrc/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /export/projects/opensrc/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /export/projects/opensrc/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /export/projects/opensrc/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (8%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /mnt/data/install/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /mnt/data/install/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /mnt/data/install/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /mnt/data/install/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (8%)
001+ Warning: stream_socket_client(): SSL context creation failure in /usr/src/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/src/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/src/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (8%)
001+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+ Segmentation fault
003+
004+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/src/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
005+
006+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/src/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (8%)
001+ Failed loading /usr/local/lib/ioncube_loader_lin_5.3.so: /usr/local/lib/ioncube_loader_lin_5.3.so: undefined symbol: execute
001- Sending bug 46127
002+ Zend Guard Loader requires Zend Engine API version 220090626.
003+ The Zend Engine API version 220131226 which is installed, is newer.
004+ Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Guard Loader.
005+
006+
007+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/directadmin/custombuild/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
008+
009+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/directadmin/custombuild/php-5.6.28/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12