Test: /ext/openssl/tests/bug46127.phpt - Version 5.6.0-dev        

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

Count Diff
1 (10%)
002+ [Wed Jul 23 21:30:42 2014] Script: '/home/travis/build/php/php-src/ext/openssl/tests/ServerClientTestCase.inc'
003+ /home/travis/build/php/php-src/Zend/zend_vm_execute.h(4334) : Freeing 0x7F7EA14F9030 (11 bytes), script=/home/travis/build/php/php-src/ext/openssl/tests/ServerClientTestCase.inc
004+ /home/travis/build/php/php-src/Zend/zend_variables.c(126) : Actual location (location was relayed)
005+ === Total 1 memory leaks detected ===
006+ [Wed Jul 23 21:30:42 2014] Script: %s/bug46127.php'
007+ /home/travis/build/php/php-src/Zend/zend_vm_execute.h(4334) : Freeing 0x7FB8129ACA08 (11 bytes), %s/bug46127.php
008+ /home/travis/build/php/php-src/Zend/zend_variables.c(126) : Actual location (location was relayed)
009+ === Total 1 memory leaks detected ===
1 (10%)
002+
002- Sending bug 46127
003+ Warning: fsockopen(): Peer verification is enabled to protect against Man-in-the-Middle (MitM) attacks. To use encrypted streams you *must* specify openssl.cafile and/or openssl.capath in php.ini or pass a stream context defining cafile/capath values in %s/bug46127.php on line 39
004+
005+ Warning: fsockopen(): failed to create an SSL handle in %s/bug46127.php on line 39
006+
007+ Warning: fsockopen(): Failed to enable crypto in %s/bug46127.php on line 39
008+
009+ Warning: fsockopen(): unable to connect to ssl://127.0.0.1:17129 (Unknown error) in %s/bug46127.php on line 39
010+
011+ Warning: stream_socket_accept(): Failed to enable crypto in %s/bug46127.php on line 15
012+
013+ Warning: stream_socket_accept(): accept failed: Success in %s/bug46127.php on line 15
1 (10%)
002+
002- Sending bug 46127
003+ Warning: fsockopen(): Failed to enable crypto in %s/bug46127.php on line 39
004+
005+ Warning: fsockopen(): unable to connect to ssl://127.0.0.1:18128 (Unknown error) in %s/bug46127.php on line 39
1 (10%)
001+ [Wed Jul 23 19:37:47 2014] Script: '/home/travis/build/php/php-src/ext/openssl/tests/ServerClientTestCase.inc'
002+ /home/travis/build/php/php-src/Zend/zend_vm_execute.h(4334) : Freeing 0x7F800099C030 (11 bytes), script=/home/travis/build/php/php-src/ext/openssl/tests/ServerClientTestCase.inc
003+ /home/travis/build/php/php-src/Zend/zend_variables.c(126) : Actual location (location was relayed)
004+ === Total 1 memory leaks detected ===
006+ [Wed Jul 23 19:37:47 2014] Script: %s/bug46127.php'
007+ /home/travis/build/php/php-src/Zend/zend_vm_execute.h(4334) : Freeing 0x7F150075CA08 (11 bytes), %s/bug46127.php
008+ /home/travis/build/php/php-src/Zend/zend_variables.c(126) : Actual location (location was relayed)
009+ === Total 1 memory leaks detected ===
1 (10%)
001+ Xdebug requires Zend Engine API version 220131107.
002+ The Zend Engine API version 220131226 which is installed, is newer.
003+ Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.
004+
005+ Zend OPcache requires Zend Engine API version 220131107.
006+ The Zend Engine API version 220131226 which is installed, is newer.
007+ Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache.
008+
1 (10%)
001+ Xdebug requires Zend Engine API version 220100525.
001- Sending bug 46127
002+ The Zend Engine API version 220131226 which is installed, is newer.
003+ Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.
004+
005+
006+ Warning: stream_socket_client(): SSL: Handshake timed out in /Users/ch6/src/php5.6-201406021030/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
007+
008+ Warning: stream_socket_client(): Failed to enable crypto in /Users/ch6/src/php5.6-201406021030/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 /Users/ch6/src/php5.6-201406021030/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 /Users/ch6/src/php5.6-201406021030/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (10%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/travis/build/php/php-src/ext/openssl/tests/ServerClientTestCase.inc(93) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/travis/build/php/php-src/ext/openssl/tests/ServerClientTestCase.inc(93) : eval()'d code on line 12
1 (10%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20131226/mongo.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20131226/mongo.so, 9): image not found in Unknown on line 0
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /Users/nate/Desktop/php5.6-201405091830/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 /Users/nate/Desktop/php5.6-201405091830/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 /Users/nate/Desktop/php5.6-201405091830/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (10%)
001+ Failed loading /usr/local/lib/php/extensions/debug-zts-20131226/xdebug.so: /usr/local/lib/php/extensions/debug-zts-20131226/xdebug.so: cannot open shared object file: No such file or directory
1 (10%)