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

Bug #54992 Stream not closed and error not returned when SSL CN_match fails
Submitted: 2011-06-04 14:10:04 Modified: 2011-06-08 02:25:10
From: laird_ngrps Assigned: cataphract
Status: Closed Package: Streams related
PHP Version: 5.3.6 OS: Linux

There are 9 different diffs reported by users for this test.

Count Diff
2 (20%)
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
002-
1 (10%)
007+ [Wed Jul 23 21:30:43 2014] Script: '/home/travis/build/php/php-src/ext/openssl/tests/ServerClientTestCase.inc'
008+ /home/travis/build/php/php-src/Zend/zend_vm_execute.h(4334) : Freeing 0x7F56ACE37030 (11 bytes), script=/home/travis/build/php/php-src/ext/openssl/tests/ServerClientTestCase.inc
009+ /home/travis/build/php/php-src/Zend/zend_variables.c(126) : Actual location (location was relayed)
010+ === Total 1 memory leaks detected ===
011+ [Wed Jul 23 21:30:43 2014] Script: %s/bug54992.php'
012+ /home/travis/build/php/php-src/Zend/zend_vm_execute.h(4334) : Freeing 0x7F41702BC9F0 (11 bytes), %s/bug54992.php
013+ /home/travis/build/php/php-src/Zend/zend_variables.c(126) : Actual location (location was relayed)
014+ === Total 1 memory leaks detected ===
1 (10%)
001+ [Wed Jul 23 19:37:48 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 0x7F37A8592030 (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 ===
005+
012+ [Wed Jul 23 19:37:48 2014] Script: %s/bug54992.php'
013+ /home/travis/build/php/php-src/Zend/zend_vm_execute.h(4334) : Freeing 0x7F73E3B1C9F0 (11 bytes), %s/bug54992.php
014+ /home/travis/build/php/php-src/Zend/zend_variables.c(126) : Actual location (location was relayed)
015+ === 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+
009+
1 (10%)
001+ Xdebug requires Zend Engine API version 220100525.
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+
001- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
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- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
002-
003- Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
004-
005- Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s on line %d
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- Warning: stream_socket_client(): Peer certificate CN=`bug54992.local' did not match expected CN=`buga_buga' in %s on line %d
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
002+
1 (10%)