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

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
1 (20%)
001+ Warning: openssl_x509_export_to_file(): cannot get cert from parameter 1 in /usr/local/php-7.4.22/ext/openssl/tests/CertificateGenerator.inc on line 82 002+ 001- string(0) "" 002- string(12) "hello, world" 003+ Warning: openssl_csr_new(): private key length is too short; it needs to be at least 384 bits, not 0 in /usr/local/php-7.4.22/ext/openssl/tests/CertificateGenerator.inc on line 128 004+ 005+ Warning: openssl_csr_new(): Unable to generate a private key in /usr/local/php-7.4.22/ext/openssl/tests/CertificateGenerator.inc on line 128 006+ 007+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /usr/local/php-7.4.22/ext/openssl/tests/CertificateGenerator.inc on line 132 008+ 009+ Fatal error: Uncaught Exception: Failed to create certificate in /usr/local/php-7.4.22/ext/openssl/tests/CertificateGenerator.inc:135 010+ Stack trace: 011+ #0 %s/bug77390.php(107): CertificateGenerator->saveNewCertAsFileWithKey('bug77390', '/usr/local/php-...') 012+ #1 {main} 013+ thrown in /usr/local/php-7.4.22/ext/openssl/tests/CertificateGenerator.inc on line 135
1 (20%)
001+ PHP Warning: PHP Startup: gnupg: Unable to initialize module 002+ Module compiled with module API=20180731 003+ PHP compiled with module API=20190902 004+ These options need to match 005+ in Unknown on line 0 006+ PHP Warning: PHP Startup: gnupg: Unable to initialize module 007+ Module compiled with module API=20180731 008+ PHP compiled with module API=20190902 009+ These options need to match 010+ in Unknown on line 0
1 (20%)
001+ PHP Warning: PHP Startup: curl: Unable to initialize module 002+ Module compiled with module API=20131226 001- string(0) "" 002- string(12) "hello, world" 003+ PHP compiled with module API=20190902 004+ These options need to match 005+ in Unknown on line 0 006+ PHP Warning: PHP Startup: curl: Unable to initialize module 007+ Module compiled with module API=20131226 008+ PHP compiled with module API=20190902 009+ These options need to match 010+ in Unknown on line 0 011+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/modules/mysqli.so' (tried: /usr/local/php/modules/mysqli.so (/usr/local/php/modules/mysqli.so: undefined symbol: _zval_ptr_dtor), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902//usr/local/php/modules/mysqli.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902//usr/local/php/modules/mysqli.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 012+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/modules/mysqli.so' (tried: /usr/local/php/modules/mysqli.so (/usr/local/php/modules/mysqli.so: undefined symbol: _zval_ptr_dtor), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902//usr/local/php/modules/mysqli.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902//usr/local/php/modules/mysqli.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 013+ PHP Warning: PHP Startup: mcrypt: Unable to initialize module 014+ Module compiled with module API=20131226 015+ PHP compiled with module API=20190902 016+ These options need to match 017+ in Unknown on line 0 018+ PHP Warning: PHP Startup: mcrypt: Unable to initialize module 019+ Module compiled with module API=20131226 020+ PHP compiled with module API=20190902 021+ These options need to match 022+ in Unknown on line 0 023+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/modules/openssl.so' (tried: /usr/local/php/modules/openssl.so (/usr/local/php/modules/openssl.so: undefined symbol: zval_used_for_init), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902//usr/local/php/modules/openssl.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902//usr/local/php/modules/openssl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 024+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/modules/openssl.so' (tried: /usr/local/php/modules/openssl.so (/usr/local/php/modules/openssl.so: undefined symbol: zval_used_for_init), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902//usr/local/php/modules/openssl.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902//usr/local/php/modules/openssl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 025+ PHP Warning: PHP Startup: zip: Unable to initialize module 026+ Module compiled with module API=20180731 027+ PHP compiled with module API=20190902 028+ These options need to match 029+ in Unknown on line 0 030+ PHP Warning: PHP Startup: zip: Unable to initialize module 031+ Module compiled with module API=20180731 032+ PHP compiled with module API=20190902 033+ These options need to match 034+ in Unknown on line 0 035+ string(0) "" 036+ string(12) "hello, world"
1 (20%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick' (tried: /opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick (Cannot open "/opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick"), /opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick.so (Shared object "libMagickWand-7.so.7" not found, required by "imagick.so")) in Unknown on line 0 002+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick' (tried: /opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick (Cannot open "/opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick"), /opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick.so (Shared object "libMagickWand-7.so.7" not found, required by "imagick.so")) in Unknown on line 0 003+ PHP Warning: Module 'zip' already loaded in Unknown on line 0 004+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick' (tried: /opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick (Cannot open "/opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick"), /opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick.so (Shared object "libMagickWand-7.so.7" not found, required by "imagick.so")) in Unknown on line 0 005+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick' (tried: /opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick (Cannot open "/opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick"), /opt/php74/usr/lib64/extensions/debug-non-zts-20190902/imagick.so (Shared object "libMagickWand-7.so.7" not found, required by "imagick.so")) in Unknown on line 0 006+ PHP Warning: Module 'zip' already loaded in Unknown on line 0
1 (20%)
001+ Cannot load the ionCube PHP Loader - it was built with configuration API320180731,NTS, whereas running engine is API320190902,NTS 002+ Cannot load the ionCube PHP Loader - it was built with configuration API320180731,NTS, whereas running engine is API320190902,NTS 003+ Zend OPcache requires Zend Engine API version 320180731. 004+ The Zend Engine API version 320190902 which is installed, is newer. 005+ Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache. 006+ 007+ Zend OPcache requires Zend Engine API version 320180731. 008+ The Zend Engine API version 320190902 which is installed, is newer. 009+ Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache. 010+