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

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

Count Diff
4 (20%)
001+ PHP Fatal error: Directive 'magic_quotes_gpc' 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.32/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.32/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
3 (15%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/php-5.6.32/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.32/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
2 (10%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/src/php/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/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/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/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (5%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-5.6.32/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.32/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (5%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /sources/php-5.6.32/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 /sources/php-5.6.32/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (5%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/php/php-5.6.32/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/php-5.6.32/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (5%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /mnt/music/slack/compile/php-5.6.32/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 /mnt/music/slack/compile/php-5.6.32/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (5%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/roltd/src/php/php-5.6.32/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/roltd/src/php/php-5.6.32/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (5%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/creamos/Descargas/php-5.6.32/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/creamos/Descargas/php-5.6.32/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (5%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /data/install/src/php-5.6.32/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/install/src/php-5.6.32/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (5%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /usr/local/src/php-5.6.32/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.32/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.32/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.32/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
008+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/src/php-5.6.32/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
009+ PHP Warning: stream_socket_accept(): accept failed: Error 0 in /usr/local/src/php-5.6.32/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
010+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/src/php-5.6.32/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 11
1 (5%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /usr/local/src/WWW/apache/php-5.6.32/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.32/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.32/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.32/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (5%)
001+ Warning: stream_socket_client(): SSL context creation failure in /home/codemake/php-5.6.32/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 /home/codemake/php-5.6.32/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 /home/codemake/php-5.6.32/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 /home/codemake/php-5.6.32/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
008+ PHP Warning: stream_socket_accept(): SSL context creation failure in /home/codemake/php-5.6.32/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
1 (5%)
001+ Warning: stream_socket_client(): Failed to enable crypto in /home/darren/php-5.6.32/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 /home/darren/php-5.6.32/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/darren/php-5.6.32/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12