Test: /ext/openssl/tests/bug77390.phpt - Version 7.3.30        

Bug #77390 feof might hang on TLS streams in case of fragmented TLS records
Submitted: 2018-12-31 15:53:30 Modified: 2019-01-17 18:15:52
From: kelunik Assigned: bukka
Status: Closed Package: OpenSSL related
PHP Version: 7.2.13 OS:

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

Count Diff
4 (57%)
001+ ** ERROR: process timed out **
001- string(0) ""
002- string(12) "hello, world"
1 (14%)
001+ PHP Warning: stream_socket_server(): unable to connect to ssl://127.0.0.1:10011 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in /home/try/src/php-7.3.30/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 4
002+ PHP Warning: stream_socket_accept() expects parameter 1 to be resource, bool given in /home/try/src/php-7.3.30/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
001- string(0) ""
002- string(12) "hello, world"
003+ PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/try/src/php-7.3.30/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 8
004+ PHP Warning: stream_socket_client(): unable to connect to tcp://127.0.0.1:10011 (Connection refused) in /home/try/src/php-7.3.30/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 3
005+ PHP Warning: stream_set_blocking() expects parameter 1 to be resource, bool given in /home/try/src/php-7.3.30/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 4
006+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /home/try/src/php-7.3.30/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 14
007+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /home/try/src/php-7.3.30/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 14
008+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /home/try/src/php-7.3.30/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 14
009+ PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/try/src/php-7.3.30/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 18
010+ PHP Warning: feof() expects parameter 1 to be resource, bool given in /home/try/src/php-7.3.30/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 31
011+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /home/try/src/php-7.3.30/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 14
012+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /home/try/src/php-7.3.30/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 14
013+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /home/try/src/php-7.3.30/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 14
014+
015+ ** ERROR: process timed out **
1 (14%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'php_gd2.dll' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_gd2.dll (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_gd2.dll: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_gd2.dll.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_gd2.dll.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 'php_gd2.dll' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_gd2.dll (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_gd2.dll: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_gd2.dll.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/php_gd2.dll.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
001- string(0) ""
002- string(12) "hello, world"
003+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
004+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
005+ PHP Warning: stream_socket_client(): unable to connect to tcp://127.0.0.1:10011 (Connection refused) in /usr/local/src/php-7.3.30/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 3
006+ PHP Warning: stream_set_blocking() expects parameter 1 to be resource, bool given in /usr/local/src/php-7.3.30/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 4
007+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /usr/local/src/php-7.3.30/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 14
008+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /usr/local/src/php-7.3.30/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 14
009+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /usr/local/src/php-7.3.30/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 14
010+ PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /usr/local/src/php-7.3.30/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 18
011+ PHP Warning: feof() expects parameter 1 to be resource, bool given in /usr/local/src/php-7.3.30/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 31
012+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /usr/local/src/php-7.3.30/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 14
013+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /usr/local/src/php-7.3.30/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 14
014+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /usr/local/src/php-7.3.30/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 14
015+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /usr/local/src/php-7.3.30/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
016+ PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /usr/local/src/php-7.3.30/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 8
017+
018+ ** ERROR: process timed out **
1 (14%)
001+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: /usr/local/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: cannot open shared object file: No such file or directory
002+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: /usr/local/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: cannot open shared object file: No such file or directory