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

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

Count Diff
1 (11%)
001+ Warning: openssl_csr_new(): Error loading request_extensions_section section v3_req of /etc/ssl/openssl.cnf in /home/storage/deployment/compiles/php-7.2.19/ext/openssl/tests/CertificateGenerator.inc on line 97
002+
001- string(0) ""
002- string(12) "hello, world"
003+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /home/storage/deployment/compiles/php-7.2.19/ext/openssl/tests/CertificateGenerator.inc on line 100
004+
005+ Warning: openssl_x509_export(): cannot get cert from parameter 1 in /home/storage/deployment/compiles/php-7.2.19/ext/openssl/tests/CertificateGenerator.inc on line 104
006+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/home/storage/deployment/compiles/php-7.2.19/ext/openssl/tests/bug77390.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/storage/deployment/compiles/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
007+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/storage/deployment/compiles/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
008+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/storage/deployment/compiles/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
009+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/storage/deployment/compiles/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 8
010+
011+ ** ERROR: process timed out **
1 (11%)
001+ Warning: openssl_csr_new(): Error loading request_extensions_section section v3_req of /etc/ssl/ in /home/daneel/Descargas/SOURCE/php-7.2.19/ext/openssl/tests/CertificateGenerator.inc on line 97
002+
001- string(0) ""
002- string(12) "hello, world"
003+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /home/daneel/Descargas/SOURCE/php-7.2.19/ext/openssl/tests/CertificateGenerator.inc on line 100
004+
005+ Warning: openssl_x509_export(): cannot get cert from parameter 1 in /home/daneel/Descargas/SOURCE/php-7.2.19/ext/openssl/tests/CertificateGenerator.inc on line 104
006+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/home/daneel/Descargas/SOURCE/php-7.2.19/ext/openssl/tests/bug77390.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/daneel/Descargas/SOURCE/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
007+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/daneel/Descargas/SOURCE/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
008+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/daneel/Descargas/SOURCE/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
009+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/daneel/Descargas/SOURCE/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 8
010+
011+ ** ERROR: process timed out **
1 (11%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/home/chenyudong/flsrc/php-7.2.19/ext/openssl/tests/bug77390.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/chenyudong/flsrc/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/chenyudong/flsrc/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
001- string(0) ""
002- string(12) "hello, world"
003+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/chenyudong/flsrc/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
004+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/chenyudong/flsrc/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 8
005+
006+ ** ERROR: process timed out **
1 (11%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis' (tried: /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/redis (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/redis: cannot open shared object file: No such file or directory), /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/redis.so (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/redis.so: invalid ELF header)) in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'iconv' (tried: /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/iconv (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/iconv: cannot open shared object file: No such file or directory), /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/iconv.so (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/iconv.so: invalid ELF header)) in Unknown on line 0
001- string(0) ""
002- string(12) "hello, world"
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'fileinfo' (tried: /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/fileinfo (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/fileinfo: cannot open shared object file: No such file or directory), /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/fileinfo.so (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/fileinfo.so: invalid ELF header)) in Unknown on line 0
004+ PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/intl (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/intl: cannot open shared object file: No such file or directory), /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/intl.so (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/intl.so: invalid ELF header)) in Unknown on line 0
005+ PHP Warning: PHP Startup: Unable to load dynamic library 'pcntl' (tried: /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/pcntl (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/pcntl: cannot open shared object file: No such file or directory), /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/pcntl.so (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/pcntl.so: invalid ELF header)) in Unknown on line 0
006+ PHP Warning: PHP Startup: Unable to load dynamic library 'swoole' (tried: /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/swoole (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/swoole: cannot open shared object file: No such file or directory), /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/swoole.so (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/swoole.so: invalid ELF header)) in Unknown on line 0
007+ PHP Warning: PHP Startup: Unable to load dynamic library 'ssh2' (tried: /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/ssh2 (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/ssh2: cannot open shared object file: No such file or directory), /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/ssh2.so (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/ssh2.so: invalid ELF header)) in Unknown on line 0
008+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis' (tried: /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/redis (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/redis: cannot open shared object file: No such file or directory), /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/redis.so (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/redis.so: invalid ELF header)) in Unknown on line 0
009+ PHP Warning: PHP Startup: Unable to load dynamic library 'iconv' (tried: /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/iconv (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/iconv: cannot open shared object file: No such file or directory), /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/iconv.so (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/iconv.so: invalid ELF header)) in Unknown on line 0
010+ PHP Warning: PHP Startup: Unable to load dynamic library 'fileinfo' (tried: /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/fileinfo (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/fileinfo: cannot open shared object file: No such file or directory), /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/fileinfo.so (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/fileinfo.so: invalid ELF header)) in Unknown on line 0
011+ PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/intl (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/intl: cannot open shared object file: No such file or directory), /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/intl.so (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/intl.so: invalid ELF header)) in Unknown on line 0
012+ PHP Warning: PHP Startup: Unable to load dynamic library 'pcntl' (tried: /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/pcntl (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/pcntl: cannot open shared object file: No such file or directory), /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/pcntl.so (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/pcntl.so: invalid ELF header)) in Unknown on line 0
013+ PHP Warning: PHP Startup: Unable to load dynamic library 'swoole' (tried: /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/swoole (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/swoole: cannot open shared object file: No such file or directory), /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/swoole.so (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/swoole.so: invalid ELF header)) in Unknown on line 0
014+ PHP Warning: PHP Startup: Unable to load dynamic library 'ssh2' (tried: /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/ssh2 (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/ssh2: cannot open shared object file: No such file or directory), /Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/ssh2.so (/Users/flsof/php/php-7.2.19/lib/php/extensions/no-debug-zts-20170718/ssh2.so: invalid ELF header)) in Unknown on line 0
015+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/home/chenyudong/flsrc/php-7.2.19/ext/openssl/tests/bug77390.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/chenyudong/flsrc/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
016+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/chenyudong/flsrc/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
017+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/chenyudong/flsrc/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
018+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/chenyudong/flsrc/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 8
019+
020+ ** ERROR: process timed out **
1 (11%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /opt/php-7.2.19/lib/php/extensions/no-debug-non-zts-20170718/intl.so (/opt/php-7.2.19/lib/php/extensions/no-debug-non-zts-20170718/intl.so: cannot open shared object file: No such file or directory), /opt/php-7.2.19/lib/php/extensions/no-debug-non-zts-20170718/intl.so.so (/opt/php-7.2.19/lib/php/extensions/no-debug-non-zts-20170718/intl.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 'intl.so' (tried: /opt/php-7.2.19/lib/php/extensions/no-debug-non-zts-20170718/intl.so (/opt/php-7.2.19/lib/php/extensions/no-debug-non-zts-20170718/intl.so: cannot open shared object file: No such file or directory), /opt/php-7.2.19/lib/php/extensions/no-debug-non-zts-20170718/intl.so.so (/opt/php-7.2.19/lib/php/extensions/no-debug-non-zts-20170718/intl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (11%)
001+ PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'mbstring.so' in Unknown on line 0
002+ PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'mbstring.so' in Unknown on line 0
001- string(0) ""
002- string(12) "hello, world"
003+
004+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10012 (Connection refused) in /opt/src/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 7
005+
006+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /opt/src/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 8
007+
008+ Warning: stream_select(): supplied argument is not a valid stream resource in /opt/src/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
009+
010+ Warning: stream_select(): No stream arrays were passed in /opt/src/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
011+ PHP Warning: stream_socket_client(): unable to connect to tcp://127.0.0.1:10011 (Connection refused) in /opt/src/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 3
012+ PHP Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /opt/src/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 4
013+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /opt/src/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
014+ PHP Warning: stream_socket_accept(): accept failed: Connection timed out in /opt/src/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 10
1 (11%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php-7.2.19/lib/php/extensions/no-debug-non-zts-20170718/opcache.so (/usr/local/php-7.2.19/lib/php/extensions/no-debug-non-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), /usr/local/php-7.2.19/lib/php/extensions/no-debug-non-zts-20170718/opcache.so.so (/usr/local/php-7.2.19/lib/php/extensions/no-debug-non-zts-20170718/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php-7.2.19/lib/php/extensions/no-debug-non-zts-20170718/opcache.so (/usr/local/php-7.2.19/lib/php/extensions/no-debug-non-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), /usr/local/php-7.2.19/lib/php/extensions/no-debug-non-zts-20170718/opcache.so.so (/usr/local/php-7.2.19/lib/php/extensions/no-debug-non-zts-20170718/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (11%)
001+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
002+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
001- string(0) ""
002- string(12) "hello, world"
003+
004+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10012 (Connection refused) in /home/tsuneta/ダウンロード/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 7
005+
006+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/tsuneta/ダウンロード/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 8
007+
008+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/tsuneta/ダウンロード/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
009+
010+ Warning: stream_select(): No stream arrays were passed in /home/tsuneta/ダウンロード/php-7.2.19/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
011+
012+ ** ERROR: process timed out **
1 (11%)
001+ ** ERROR: process timed out **
001- string(0) ""
002- string(12) "hello, world"