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

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

Count Diff
13 (24%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/src/php-7.0.33-sdv/ext/openssl/tests/ServerClientTestCase.inc(96) : 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.0.33-sdv/ext/openssl/tests/ServerClientTestCase.inc(96) : 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.0.33-sdv/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.0.33-sdv/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
2 (4%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /opt/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /opt/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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 /opt/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /opt/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
2 (4%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/php-src-php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/php-src-php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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-src-php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /root/php-src-php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
2 (4%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/work/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/work/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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/work/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /root/work/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
2 (4%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/local/src/php-7.0.33-sdv/ext/openssl/tests/ServerClientTestCase.inc(96) : 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.0.33-sdv/ext/openssl/tests/ServerClientTestCase.inc(96) : 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.0.33-sdv/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.0.33-sdv/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
001+ 2.4+ kernel w/o ELF notes? -- report this
1 (2%)
001+ Failed loading /directreader/php/lib/php/extensions/no-debug-zts-20131226/opcache.so: /directreader/php/lib/php/extensions/no-debug-zts-20131226/opcache.so: undefined symbol: zend_opcode_handlers
1 (2%)
001+ Failed loading /usr/local/ioncube/ioncube_loader_lin_5.6.so: /usr/local/ioncube/ioncube_loader_lin_5.6.so: undefined symbol: zval_update_constant_inline_change
1 (2%)
001+ Failed loading /usr/local/ioncube/ioncube_loader_lin_7.3.so: /usr/local/ioncube/ioncube_loader_lin_7.3.so: undefined symbol: zend_ce_countable
002+ Failed loading /usr/local/sourceguardian/ixed.7.3.lin: /usr/local/sourceguardian/ixed.7.3.lin: undefined symbol: zval_ptr_dtor
003+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so: /usr/local/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so: cannot open shared object file: No such file or directory
004+ PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
1 (2%)
001+ Failed loading /usr/local/php/lib/php/extensions/opcache.so: /usr/local/php/lib/php/extensions/opcache.so: undefined symbol: compiler_globals
001- Sending bug 46127
002+ PHP Warning: PHP Startup: CPClient: Unable to initialize module
003+ Module compiled with build ID=API20151012,NTS
004+ PHP compiled with build ID=API20151012,TS
005+ These options need to match
006+ in Unknown on line 0
007+ PHP Warning: PHP Startup: IPINClient: Unable to initialize module
008+ Module compiled with build ID=API20151012,NTS
009+ PHP compiled with build ID=API20151012,TS
010+ These options need to match
011+ in Unknown on line 0
012+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/php_screw_plus.so' - /usr/local/php/lib/php/extensions/php_screw_plus.so: undefined symbol: compiler_globals in Unknown on line 0
013+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/imagick.so' - libMagickWand.so.5: cannot open shared object file: No such file or directory in Unknown on line 0
014+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/whatap.so' - /usr/local/php/lib/php/extensions/whatap.so: undefined symbol: sapi_globals in Unknown on line 0
015+ Sending bug 46127
1 (2%)
001+ Failed loading /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/xdebug.so: /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/xdebug.so: cannot open shared object file: No such file or directory
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/yaf.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/yaf.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 '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/sockets.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/sockets.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 '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/event.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/event.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 '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/xhprof.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/xhprof.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 '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/oci8.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/oci8.so: cannot open shared object file: No such file or directory in Unknown on line 0
007+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/jsond.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/jsond.so: cannot open shared object file: No such file or directory in Unknown on line 0
008+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/msgpack.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/msgpack.so: cannot open shared object file: No such file or directory in Unknown on line 0
009+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/yar.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/yar.so: cannot open shared object file: No such file or directory in Unknown on line 0
1 (2%)
001+ PHP Warning: Module 'ftp' already loaded in Unknown on line 0
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/imagick.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 '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/uploadprogress.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/uploadprogress.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 '/usr/local/lib/php/extensions/no-debug-zts-20131226/ssh2.so' - /usr/local/lib/php/extensions/no-debug-zts-20131226/ssh2.so: undefined symbol: zval_used_for_init in Unknown on line 0
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/7.0/lib/php/extensions/no-debug-non-zts-20151012/redis.so' - /usr/local/php/7.0/lib/php/extensions/no-debug-non-zts-20151012/redis.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 '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/curl.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/curl.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 '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/fileinfo.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/fileinfo.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 '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/json.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/json.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 '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/mcrypt.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/mcrypt.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 '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/phar.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/phar.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 '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/zip.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/zip.so: cannot open shared object file: No such file or directory in Unknown on line 0
1 (2%)
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/chs/nh-system/PHPFARM/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 7
001- Sending bug 46127
002+ PHP Warning: stream_socket_accept() expects parameter 1 to be resource, boolean given in /home/chs/nh-system/PHPFARM/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 10
003+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/chs/nh-system/PHPFARM/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : 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/chs/nh-system/PHPFARM/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/chs/nh-system/PHPFARM/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/20201110/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/20201110/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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/20201110/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/20201110/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/daniel/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/daniel/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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/daniel/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/daniel/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/jguilleny/Downloads/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/jguilleny/Downloads/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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/jguilleny/Downloads/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/jguilleny/Downloads/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/rik/Public/phpbuilder/php70/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/rik/Public/phpbuilder/php70/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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/rik/Public/phpbuilder/php70/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/rik/Public/phpbuilder/php70/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12