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

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

Count Diff
2 (33%)
001+ ** ERROR: process timed out **
001- string(0) ""
002- string(12) "hello, world"
1 (17%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/mcrypt.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/mcrypt.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/mcrypt.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/mcrypt.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 'mcrypt.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/mcrypt.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/mcrypt.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/mcrypt.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (17%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'memcached.so' (tried: /srv/php-zts/lib/php/extensions/no-debug-zts-20180731/memcached.so (/srv/php-zts/lib/php/extensions/no-debug-zts-20180731/memcached.so: cannot open shared object file: No such file or directory), /srv/php-zts/lib/php/extensions/no-debug-zts-20180731/memcached.so.so (/srv/php-zts/lib/php/extensions/no-debug-zts-20180731/memcached.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 'mcrypt.so' (tried: /srv/php-zts/lib/php/extensions/no-debug-zts-20180731/mcrypt.so (/srv/php-zts/lib/php/extensions/no-debug-zts-20180731/mcrypt.so: cannot open shared object file: No such file or directory), /srv/php-zts/lib/php/extensions/no-debug-zts-20180731/mcrypt.so.so (/srv/php-zts/lib/php/extensions/no-debug-zts-20180731/mcrypt.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 'maxminddb.so' (tried: /srv/php-zts/lib/php/extensions/no-debug-zts-20180731/maxminddb.so (/srv/php-zts/lib/php/extensions/no-debug-zts-20180731/maxminddb.so: cannot open shared object file: No such file or directory), /srv/php-zts/lib/php/extensions/no-debug-zts-20180731/maxminddb.so.so (/srv/php-zts/lib/php/extensions/no-debug-zts-20180731/maxminddb.so.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 'memcached.so' (tried: /srv/php-zts/lib/php/extensions/no-debug-zts-20180731/memcached.so (/srv/php-zts/lib/php/extensions/no-debug-zts-20180731/memcached.so: cannot open shared object file: No such file or directory), /srv/php-zts/lib/php/extensions/no-debug-zts-20180731/memcached.so.so (/srv/php-zts/lib/php/extensions/no-debug-zts-20180731/memcached.so.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 'mcrypt.so' (tried: /srv/php-zts/lib/php/extensions/no-debug-zts-20180731/mcrypt.so (/srv/php-zts/lib/php/extensions/no-debug-zts-20180731/mcrypt.so: cannot open shared object file: No such file or directory), /srv/php-zts/lib/php/extensions/no-debug-zts-20180731/mcrypt.so.so (/srv/php-zts/lib/php/extensions/no-debug-zts-20180731/mcrypt.so.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 'maxminddb.so' (tried: /srv/php-zts/lib/php/extensions/no-debug-zts-20180731/maxminddb.so (/srv/php-zts/lib/php/extensions/no-debug-zts-20180731/maxminddb.so: cannot open shared object file: No such file or directory), /srv/php-zts/lib/php/extensions/no-debug-zts-20180731/maxminddb.so.so (/srv/php-zts/lib/php/extensions/no-debug-zts-20180731/maxminddb.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (17%)
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.31/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.31/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.31/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.31/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.31/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.31/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.31/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.31/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.31/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.31/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.31/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.31/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.31/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 14
014+
015+ ** ERROR: process timed out **
1 (17%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10012 (Connection refused) in /opt/applications/src/software/PHP/php-7.3.31/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 7
002+
001- string(0) ""
002- string(12) "hello, world"
003+ Warning: stream_set_blocking() expects parameter 1 to be resource, bool given in /opt/applications/src/software/PHP/php-7.3.31/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 8
004+
005+ Warning: stream_select(): supplied argument is not a valid stream resource in /opt/applications/src/software/PHP/php-7.3.31/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
006+
007+ Warning: stream_select(): No stream arrays were passed in /opt/applications/src/software/PHP/php-7.3.31/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
008+
009+ ** ERROR: process timed out **