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

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

Count Diff
9 (20%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/src/php7source/php-src/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/php7source/php-src/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/php7source/php-src/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/php7source/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
6 (13%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/apps/php-src/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/apps/php-src/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/apps/php-src/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/apps/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
2 (4%)
001+ Failed loading /usr/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: /usr/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: undefined symbol: _zval_ptr_dtor
2 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'php_curl.dll' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_curl.dll (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_curl.dll: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_curl.dll.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/php_curl.dll.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
2 (4%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.so.so (/usr/local/php/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
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/php-7.3.11/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 /root/php-7.3.11/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
006+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /root/php-7.3.11/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 10
2 (4%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-7.3.11/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 /usr/local/src/php-7.3.11/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (2%)
001+ Failed loading /opt/php-7.x/lib/php/extensions/no-debug-non-zts-20160303/opcache.so: /opt/php-7.x/lib/php/extensions/no-debug-non-zts-20160303/opcache.so: undefined symbol: _zval_ptr_dtor
1 (2%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20170718/opcache.so: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/opcache.so: undefined symbol: _zval_ptr_dtor
1 (2%)
001+ PHP Notice: Unknown: Redis not available while creating session_id in Unknown on line 0
002+ PHP Warning: Unknown: Cannot send session cookie - headers already sent in Unknown on line 0
003+ PHP Warning: Unknown: Failed to read session data: redis (path: tcp://127.0.0.1:6379?auth=lhz929lyf) in Unknown on line 0
1 (2%)
001+ PHP Warning: Module 'PDO_ODBC' already loaded in Unknown on line 0
001- Sending bug 46127
002+ PHP Warning: Module 'pdo_pgsql' already loaded in Unknown on line 0
003+ PHP Warning: Module 'pdo_sqlite' already loaded in Unknown on line 0
004+ /SRC/php-src-php-7.3.11/sapi/cli/php: symbol lookup error: /opt/Apache73/lib/extensions/no-debug-zts-20180731/gmagick.so: undefined symbol: omp_get_num_procs
005+
006+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /SRC/php-src-php-7.3.11/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 /SRC/php-src-php-7.3.11/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (2%)
001+ PHP Warning: Module 'PDO_ODBC' already loaded in Unknown on line 0
002+ PHP Warning: Module 'pdo_pgsql' already loaded in Unknown on line 0
003+ PHP Warning: Module 'pdo_sqlite' already loaded in Unknown on line 0
1 (2%)
001+ PHP Warning: Module 'PDO_ODBC' already loaded in Unknown on line 0
002+ PHP Warning: Module 'pdo_pgsql' already loaded in Unknown on line 0
003+ PHP Warning: Module 'pdo_sqlite' already loaded in Unknown on line 0
004+ PHP Warning: PHP Startup: Unable to load dynamic library 'krb5.so' (tried: /opt/Apache73/lib/extensions/no-debug-zts-20180731/krb5.so (/opt/Apache73/lib/extensions/no-debug-zts-20180731/krb5.so: undefined symbol: GSS_C_NT_HOSTBASED_SERVICE), /opt/Apache73/lib/extensions/no-debug-zts-20180731/krb5.so.so (/opt/Apache73/lib/extensions/no-debug-zts-20180731/krb5.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
006+ Segmentation fault
1 (2%)
001+ PHP Warning: Module 'bz2' already loaded in Unknown on line 0
001- Sending bug 46127
002+ PHP Warning: Module 'calendar' already loaded in Unknown on line 0
003+ PHP Warning: Module 'ctype' already loaded in Unknown on line 0
004+ PHP Warning: Module 'curl' already loaded in Unknown on line 0
005+ PHP Warning: Module 'dom' already loaded in Unknown on line 0
006+ PHP Warning: Module 'exif' already loaded in Unknown on line 0
007+ PHP Warning: Module 'fileinfo' already loaded in Unknown on line 0
008+ PHP Warning: Module 'ftp' already loaded in Unknown on line 0
009+ PHP Warning: Module 'gd' already loaded in Unknown on line 0
010+ PHP Warning: Module 'gettext' already loaded in Unknown on line 0
011+ PHP Warning: Module 'iconv' already loaded in Unknown on line 0
012+ PHP Warning: Module 'json' already loaded in Unknown on line 0
013+ PHP Warning: Module 'mbstring' already loaded in Unknown on line 0
014+ PHP Warning: Module 'mysqlnd' already loaded in Unknown on line 0
015+ PHP Warning: Module 'PDO' already loaded in Unknown on line 0
016+ PHP Warning: Module 'Phar' already loaded in Unknown on line 0
017+ PHP Warning: Module 'posix' already loaded in Unknown on line 0
018+ PHP Warning: Module 'shmop' already loaded in Unknown on line 0
019+ PHP Warning: Module 'SimpleXML' already loaded in Unknown on line 0
020+ PHP Warning: Module 'sockets' already loaded in Unknown on line 0
021+ PHP Warning: Module 'sqlite3' already loaded in Unknown on line 0
022+ PHP Warning: Module 'sysvmsg' already loaded in Unknown on line 0
023+ PHP Warning: Module 'sysvsem' already loaded in Unknown on line 0
024+ PHP Warning: Module 'sysvshm' already loaded in Unknown on line 0
025+ PHP Warning: Module 'tokenizer' already loaded in Unknown on line 0
026+ PHP Warning: Module 'xml' already loaded in Unknown on line 0
027+ PHP Warning: Module 'xmlwriter' already loaded in Unknown on line 0
028+ PHP Warning: Module 'xsl' already loaded in Unknown on line 0
029+ PHP Warning: Module 'mysqli' already loaded in Unknown on line 0
030+ PHP Warning: Module 'pdo_mysql' already loaded in Unknown on line 0
031+ PHP Warning: Module 'pdo_sqlite' already loaded in Unknown on line 0
032+ PHP Warning: Module 'wddx' already loaded in Unknown on line 0
033+ PHP Warning: Module 'xmlreader' already loaded in Unknown on line 0
034+ PHP Warning: Module 'zip' already loaded in Unknown on line 0
035+ Sending bug 46127
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/curl (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/curl: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/curl.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/curl.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 'mbstring' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/mbstring (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/mbstring: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/mbstring.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/mbstring.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 'mysqli' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/mysqli (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/mysqli: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/mysqli.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/mysqli.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 'openssl' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/openssl (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/openssl: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/openssl.so (/usr/local/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
005+ PHP Warning: PHP Startup: Unable to load dynamic library 'sqlite3' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/sqlite3 (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/sqlite3: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/sqlite3.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/sqlite3.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
006+ PHP Warning: PHP Startup: Unable to load dynamic library 'xmlrpc' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/xmlrpc (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/xmlrpc: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/xmlrpc.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/xmlrpc.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
007+
008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/bruno/Downloads/php-7.3.11/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/bruno/Downloads/php-7.3.11/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
011+
012+ ** ERROR: process timed out **
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/mysqli (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/mysqli: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/mysqli.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/mysqli.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 'pdo_mysql' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/pdo_mysql (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/pdo_mysql: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/pdo_mysql.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/pdo_mysql.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'oci8.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/oci8.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/oci8.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/oci8.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/oci8.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 'pdo_sqlsrv.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_sqlsrv.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_sqlsrv.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_sqlsrv.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_sqlsrv.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 'sqlsrv.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/sqlsrv.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/sqlsrv.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/sqlsrv.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/sqlsrv.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'php_openssl.so' (tried: ./php_openssl.so (./php_openssl.so: cannot open shared object file: No such file or directory), ./php_openssl.so.so (./php_openssl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.so.so (/usr/local/php/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
1 (2%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/var/tmp/php-7.3.11/ext/openssl/tests/bug46127.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /var/tmp/php-7.3.11/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 /var/tmp/php-7.3.11/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 10
003+ PHP Warning: stream_socket_accept(): accept failed: Success in /var/tmp/php-7.3.11/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 /var/tmp/php-7.3.11/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
005+
006+ Warning: stream_socket_client(): SSL: Connection reset by peer in /var/tmp/php-7.3.11/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
007+
008+ Warning: stream_socket_client(): Failed to enable crypto in /var/tmp/php-7.3.11/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 /var/tmp/php-7.3.11/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 /var/tmp/php-7.3.11/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/admin/apps/php-src/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/admin/apps/php-src/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/admin/apps/php-src/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/admin/apps/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/glpi/php-7.3.11/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/glpi/php-7.3.11/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/glpi/php-7.3.11/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/glpi/php-7.3.11/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 12