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

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

Count Diff
5 (13%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/__Install/Httpd,PHP/php-7308/php/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/__Install/Httpd,PHP/php-7308/php/ext/openssl/tests/ServerClientTestCase.inc(130) : 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/__Install/Httpd,PHP/php-7308/php/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, bool given in /home/__Install/Httpd,PHP/php-7308/php/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
2 (5%)
001+ Xdebug could not open the remote debug file '/tmp/xdebug/xdebug.log'.
2 (5%)
001+ PHP Warning: PHP Startup: smbclient: Unable to initialize module
002+ Module compiled with module API=20151012
003+ PHP compiled with module API=20180731
004+ These options need to match
005+ in Unknown on line 0
2 (5%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/opcache.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/opcache.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/opcache.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (3%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/soft/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: fgets() expects parameter 1 to be resource, bool given in /root/soft/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (3%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: fgets() expects parameter 1 to be resource, bool given in /root/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (3%)
001+ Warning: stream_socket_client(): SSL: Success in /root/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : 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/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, bool given in /root/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (3%)
001+ Warning: stream_socket_client(): SSL: Success in /data/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /data/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : 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/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, bool given in /data/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (3%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/src/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : 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-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : 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-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, bool given in /usr/local/src/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (3%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : 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/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, bool given in /root/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (3%)
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/try/src/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
001- Sending bug 46127
002+ PHP Warning: stream_socket_accept() expects parameter 1 to be resource, bool given in /home/try/src/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 10
003+ PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/try/src/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/try/src/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, bool given in /home/try/src/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (3%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/home/phpmt/php-7.3.8/ext/openssl/tests/bug46127.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/phpmt/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 10
001- Sending bug 46127
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/phpmt/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 10
003+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/phpmt/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 10
004+ PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/phpmt/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
005+
006+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/phpmt/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
007+
008+ Warning: stream_socket_client(): Failed to enable crypto in /home/phpmt/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : 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/phpmt/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
011+
012+ Warning: fgets() expects parameter 1 to be resource, bool given in /home/phpmt/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (3%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/home/andres/Descargas/php-src/ext/openssl/tests/bug46127.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 10
001- Sending bug 46127
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 10
003+
004+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
007+
008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
009+
010+ Warning: fgets() expects parameter 1 to be resource, bool given in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
011+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 10
1 (3%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'swoole.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'swoole.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'swoole.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so.so (/usr/local/php/lib/php/extensions/no-debug-zts-20180731/swoole.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (3%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'raphf.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/raphf.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/raphf.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/raphf.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/raphf.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'propro.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/propro.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/propro.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/propro.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/propro.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'http.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/http.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/http.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/http.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/http.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
004+ PHP Warning: PHP Startup: Unable to load dynamic library 'geoip.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/geoip.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/geoip.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/geoip.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/geoip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (3%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'php_screw_plus.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_screw_plus.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_screw_plus.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_screw_plus.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_screw_plus.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
001- Sending bug 46127
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'pgsql.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/pgsql.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/pgsql.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/pgsql.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/pgsql.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'mongo.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/mongo.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/mongo.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/mongo.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/mongo.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
004+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/redis.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/redis.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/redis.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
005+
006+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
007+
008+ Warning: fgets() expects parameter 1 to be resource, bool given in /root/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (3%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'php_mysql.dll' (tried: /apps/redcap/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/php_mysql.dll (/apps/redcap/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/php_mysql.dll: cannot open shared object file: No such file or directory), /apps/redcap/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/php_mysql.dll.so (/apps/redcap/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/php_mysql.dll.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
001- Sending bug 46127
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'php_mysqli.dll' (tried: /apps/redcap/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/php_mysqli.dll (/apps/redcap/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/php_mysqli.dll: cannot open shared object file: No such file or directory), /apps/redcap/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/php_mysqli.dll.so (/apps/redcap/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/php_mysqli.dll.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
003+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /apps/redcap/setup/redcap9.1.1_thirdparty/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, bool given in /apps/redcap/setup/redcap9.1.1_thirdparty/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
008+
009+ ** ERROR: process timed out **
1 (3%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/openssl (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/openssl: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/openssl.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/openssl.so: cannot open shared object file: No such file or directory)) 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 /opt/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
004+
005+ Warning: fgets() expects parameter 1 to be resource, bool given in /opt/php-7.3.8/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
006+
007+ ** ERROR: process timed out **
1 (3%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'maxminddb.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/maxminddb.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/maxminddb.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/maxminddb.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/maxminddb.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (3%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /opt/php-fpm-7.3.8/lib/php/extensions/no-debug-non-zts-20180731/intl (/opt/php-fpm-7.3.8/lib/php/extensions/no-debug-non-zts-20180731/intl: cannot open shared object file: No such file or directory), /opt/php-fpm-7.3.8/lib/php/extensions/no-debug-non-zts-20180731/intl.so (/opt/php-fpm-7.3.8/lib/php/extensions/no-debug-non-zts-20180731/intl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (3%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/imagick.so (/usr/local/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/imagick.so.so (/usr/local/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'apcu.so' (tried: /usr/local/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/apcu.so (/usr/local/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/apcu.so: cannot open shared object file: No such file or directory), /usr/local/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/apcu.so.so (/usr/local/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/apcu.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'smbclient.so' (tried: /usr/local/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/smbclient.so (/usr/local/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/smbclient.so: cannot open shared object file: No such file or directory), /usr/local/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/smbclient.so.so (/usr/local/php-7.3.8/lib/php/extensions/no-debug-zts-20180731/smbclient.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0