Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | Report errors from stream read and write operations | Nikita Popov | 2019-07-22 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The php_stream_read() and php_stream_write() functions now return an ssize_t value, with negative results indicating failure. Functions like fread() and fwrite() will return false in that case. As a special case, EWOULDBLOCK and EAGAIN on non-blocking streams should not be regarded as error conditions, and be reported as successful zero-length reads/writes instead. The handling of EINTR remains unclear and is internally inconsistent (e.g. some code-paths will automatically retry on EINTR, while some won't). I'm landing this now to make sure the stream wrapper ops API changes make it into 7.4 -- however, if the user-facing changes turn out to be problematic we have the option of clamping negative returns to zero in php_stream_read() and php_stream_write() to restore the old behavior in a relatively non-intrusive manner. | |||||
* | | | | Merge branch 'PHP-7.4' | Peter Kokot | 2019-07-22 | 1 | -10/+0 | |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | * PHP-7.4: Fix internals upgrading log Remove HAVE_DSA_DEFAULT_METHOD | |||||
| * | | | Remove HAVE_DSA_DEFAULT_METHOD | Peter Kokot | 2019-07-22 | 1 | -10/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Last usage removed via 6a813634052710f3f4bf6e2e03ca1b6c7be3bcee. Closes GH-4455 | |||||
* | | | | Merge branch 'PHP-7.4' | Nikita Popov | 2019-07-03 | 1 | -1/+2 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Merge branch 'PHP-7.3' into PHP-7.4 | Nikita Popov | 2019-07-03 | 1 | -1/+2 | |
| |\ \ \ | | |/ / | ||||||
| | * | | Merge branch 'PHP-7.2' into PHP-7.3 | Nikita Popov | 2019-07-03 | 1 | -1/+2 | |
| | |\ \ | | | |/ | ||||||
| | | * | Fixed bug #78231 | Nikita Popov | 2019-07-03 | 1 | -1/+2 | |
| | | | | ||||||
* | | | | Merge branch 'PHP-7.4' | Nikita Popov | 2019-06-21 | 2 | -13/+34 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Merge branch 'PHP-7.3' into PHP-7.4 | Nikita Popov | 2019-06-21 | 2 | -13/+34 | |
| |\ \ \ | | |/ / | ||||||
| | * | | Merge branch 'PHP-7.2' into PHP-7.3 | Nikita Popov | 2019-06-21 | 2 | -13/+34 | |
| | |\ \ | | | |/ | ||||||
| | | * | Fix PKCS12 leak in openssl | Nikita Popov | 2019-06-21 | 1 | -2/+3 | |
| | | | | ||||||
| | | * | Fix d leak in ecc openssl_pkey_new | Nikita Popov | 2019-06-21 | 1 | -1/+6 | |
| | | | | ||||||
| | | * | Fix netscape spki leak in openssl | Nikita Popov | 2019-06-21 | 1 | -0/+3 | |
| | | | | ||||||
| | | * | Fix X509 leak in openssl_pkcs7_verify() | Nikita Popov | 2019-06-21 | 1 | -1/+1 | |
| | | | | ||||||
| | | * | Fix CSR leaks in openssl | Nikita Popov | 2019-06-21 | 1 | -9/+20 | |
| | | | | ||||||
| | | * | Free cert in php_openssl_load_stream_cafile() | Nikita Popov | 2019-06-21 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | X509_STORE_add_cert() increments the refcount of the cert, so we should free it here. | |||||
* | | | | Merge branch 'PHP-7.4' | Nikita Popov | 2019-06-21 | 1 | -0/+6 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Merge branch 'PHP-7.3' into PHP-7.4 | Nikita Popov | 2019-06-21 | 1 | -0/+6 | |
| |\ \ \ | | |/ / | ||||||
| | * | | Merge branch 'PHP-7.2' into PHP-7.3 | Nikita Popov | 2019-06-21 | 1 | -0/+6 | |
| | |\ \ | | | |/ | ||||||
| | | * | Fix memory leak in TLS matches_san_list | Niklas Keller | 2019-06-21 | 1 | -0/+6 | |
| | | | | ||||||
* | | | | Merge branch 'PHP-7.4' | Nikita Popov | 2019-06-14 | 2 | -11/+29 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Fix compilation without deprecated OpenSSL 1.1 APIs | Rosen Penev | 2019-06-14 | 2 | -11/+29 | |
| | | | | ||||||
* | | | | Merge branch 'PHP-7.4' | Dmitry Stogov | 2019-06-06 | 2 | -14/+14 | |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | * PHP-7.4: Cheaper checks for exceptions thrown from __toString() | |||||
| * | | | Cheaper checks for exceptions thrown from __toString() | Dmitry Stogov | 2019-06-06 | 2 | -14/+14 | |
| | | | | ||||||
* | | | | Merge branch 'PHP-7.4' | Nikita Popov | 2019-06-05 | 4 | -45/+96 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Allow exceptions in __toString() | Nikita Popov | 2019-06-05 | 4 | -45/+96 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RFC: https://wiki.php.net/rfc/tostring_exceptions And convert some object to string conversion related recoverable fatal errors into Error exceptions. Improve exception safety of internal code performing string conversions. | |||||
* | | | | Merge branch 'PHP-7.4' | Nikita Popov | 2019-06-03 | 1 | -0/+2 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Prevent use of TLS 1.3 in stream_server_reneg_limit.phpt | Nikita Popov | 2019-06-03 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | TLS 1.3 does not support renegotiation, make sure this test does not use it. | |||||
* | | | | Merge branch 'PHP-7.4' | Nikita Popov | 2019-06-03 | 1 | -0/+1 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Merge branch 'PHP-7.3' into PHP-7.4 | Nikita Popov | 2019-06-03 | 1 | -0/+1 | |
| |\ \ \ | | |/ / | ||||||
| | * | | Merge branch 'PHP-7.2' into PHP-7.3 | Nikita Popov | 2019-06-03 | 1 | -0/+1 | |
| | |\ \ | | | |/ | ||||||
| | | * | Clear errors after SSL_CTX_load_verify_locations() | Nikita Popov | 2019-06-03 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | We report our own errors here. Make sure these don't clog up the error queue. | |||||
* | | | | Convert fetch_resource warnings into TypeErrors | Nikita Popov | 2019-06-03 | 6 | -46/+90 | |
| | | | | | | | | | | | | | | | | | | | | More type checks that are not part of zpp and should generate a TypeError in PHP 8. | |||||
* | | | | Merge branch 'PHP-7.4' | Jakub Zelenka | 2019-06-02 | 2 | -4/+13 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Merge branch 'PHP-7.3' into PHP-7.4 | Jakub Zelenka | 2019-06-02 | 2 | -4/+13 | |
| |\ \ \ | | |/ / | ||||||
| | * | | Merge branch 'PHP-7.2' into PHP-7.3 | Jakub Zelenka | 2019-06-02 | 2 | -4/+13 | |
| | |\ \ | | | |/ | ||||||
| | | * | Fix bug #78079 (openssl_encrypt_ccm.phpt fails with OpenSSL 1.1.1c) | Jakub Zelenka | 2019-06-02 | 2 | -4/+13 | |
| | | | | | | | | | | | | | | | | It also fixes invalid setting of tag length | |||||
* | | | | Merge branch 'PHP-7.4' | Nikita Popov | 2019-05-31 | 1 | -18/+3 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Remove confusing spkstr checks | Nikita Popov | 2019-05-31 | 1 | -18/+3 | |
| | | | | | | | | | | | | | | | | This is a required parameter, it can never be NULL. | |||||
* | | | | Merge branch 'PHP-7.4' | Peter Kokot | 2019-05-12 | 1 | -2/+0 | |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | * PHP-7.4: Normalize comments in *nix build system m4 files | |||||
| * | | | Normalize comments in *nix build system m4 files | Peter Kokot | 2019-05-12 | 1 | -2/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Normalization include: - Use dnl for everything that can be ommitted when configure is built in favor of the shell comment character # which is visible in the output. - Line length normalized to 80 columns - Dots for most of the one line sentences - Macro definitions include similar pattern header comments now | |||||
* | | | | Merge branch 'PHP-7.4' | Peter Kokot | 2019-05-10 | 1 | -2/+0 | |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | * PHP-7.4: Remove unused variable | |||||
| * | | | Remove unused variable | Peter Kokot | 2019-05-10 | 1 | -2/+0 | |
| | | | | ||||||
* | | | | Merge branch 'PHP-7.4' | Jakub Zelenka | 2019-05-05 | 1 | -1/+1 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Merge branch 'PHP-7.3' into PHP-7.4 | Jakub Zelenka | 2019-05-05 | 1 | -1/+1 | |
| |\ \ \ | | |/ / | ||||||
| | * | | Merge branch 'PHP-7.2' into PHP-7.3 | Jakub Zelenka | 2019-05-05 | 1 | -1/+1 | |
| | |\ \ | | | |/ | ||||||
| | | * | Fix OpenSSL online test for ca context | Jakub Zelenka | 2019-05-05 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | The php.net is redirected to https so use nginx.org | |||||
* | | | | Merge branch 'PHP-7.4' | Jakub Zelenka | 2019-04-28 | 6 | -17/+232 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Enable TLS 1.3 by default | Jakub Zelenka | 2019-04-28 | 2 | -0/+67 | |
| | | | | ||||||
| * | | | Fix tests and logic for TLS 1.3 | Jakub Zelenka | 2019-04-28 | 3 | -28/+39 | |
| | | | |