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

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 20 different diffs reported by users for this test.

Count Diff
3 (12%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/php-5.6.36/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 /root/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
2 (8%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/src/php/php-5.6.36/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 /root/src/php/php-5.6.36/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 /root/src/php/php-5.6.36/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 /root/src/php/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
2 (8%)
001+ PHP Warning: stream_socket_server(): unable to connect to ssl://127.0.0.1:64321 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in /home/yangbing/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 7
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/yangbing/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
004+
005+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/yangbing/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
006+ PHP Warning: stream_socket_accept() expects parameter 1 to be resource, boolean given in /home/yangbing/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
2 (8%)
001+ PHP Fatal error: Directive 'register_globals' is no longer available in PHP in Unknown on line 0
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
004+
005+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (4%)
002+ [Thu Feb 28 11:24:36 2019] Script: '/usr/local/src/php-5.6.36/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc'
003+ /usr/local/src/php-5.6.36/php-5.6.36/main/streams/plain_wrapper.c(947) : Freeing 0x7FA6E47EE928 (80 bytes), script=/usr/local/src/php-5.6.36/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc
004+ === Total 1 memory leaks detected ===
1 (4%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-5.6.36/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.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (4%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /tmp/php_src/php-5.6.36/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 /tmp/php_src/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (4%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /media/data/php_src/php-5.6.36/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 /media/data/php_src/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (4%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/ctbotsoc/php-src/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/ctbotsoc/php-src/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (4%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /usr/tanpopo/src/php-5.6.36/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/tanpopo/src/php-5.6.36/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/tanpopo/src/php-5.6.36/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/tanpopo/src/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (4%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /usr/local/src/WWW/apache/php-5.6.36/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/WWW/apache/php-5.6.36/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/WWW/apache/php-5.6.36/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/WWW/apache/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (4%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /data/skel/osr/src/php-5.6.36/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 /data/skel/osr/src/php-5.6.36/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 /data/skel/osr/src/php-5.6.36/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 /data/skel/osr/src/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
008+ PHP Warning: stream_socket_accept(): Failed setting RSA key in /data/skel/osr/src/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
009+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /data/skel/osr/src/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
010+ PHP Warning: stream_socket_accept(): accept failed: Success in /data/skel/osr/src/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
011+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /data/skel/osr/src/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 11
1 (4%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /data/skel/osr/src/php-5.6.36/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 /data/skel/osr/src/php-5.6.36/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 /data/skel/osr/src/php-5.6.36/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 /data/skel/osr/src/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (4%)
001+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
004+
005+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (4%)
001+ Warning: stream_socket_client(): Failed to enable crypto in /root/test/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /root/test/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
004+
005+ Warning: fgets() expects parameter 1 to be resource, boolean given in /root/test/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (4%)
001+ PHP Warning: stream_socket_accept(): Failed setting RSA key in /usr/local/src/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
001- Sending bug 46127
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/src/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
003+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/src/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
004+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/src/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 11
005+
006+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/src/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
007+
008+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
009+
010+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
011+
012+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (4%)
001+ PHP Warning: stream_socket_accept(): Failed setting RSA key in /home/karl/Downloads/php/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
001- Sending bug 46127
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/karl/Downloads/php/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
003+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/karl/Downloads/php/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
004+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/karl/Downloads/php/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 11
005+
006+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/karl/Downloads/php/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
007+
008+ Warning: stream_socket_client(): Failed to enable crypto in /home/karl/Downloads/php/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
009+
010+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/karl/Downloads/php/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
011+
012+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/karl/Downloads/php/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/zip.so' - Cannot open "/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/zip.so" in Unknown on line 0
1 (4%)
001+ PHP Fatal error: Directive 'register_globals' is no longer available in PHP in Unknown on line 0
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /data/usr_src/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
004+
005+ Warning: fgets() expects parameter 1 to be resource, boolean given in /data/usr_src/php-5.6.36/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (4%)
001+
001- Sending bug 46127