From 845d07b3431e1e5901f609120360bf907fc7c08f Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 22 Jul 2019 17:56:16 +0200 Subject: [PATCH] Add upgrading entries [ci skip] --- NEWS | 2 ++ UPGRADING | 3 +++ UPGRADING.INTERNALS | 4 ++++ 3 files changed, 9 insertions(+) diff --git a/NEWS b/NEWS index c62b1efe1b..9a3b825b8a 100644 --- a/NEWS +++ b/NEWS @@ -27,6 +27,8 @@ PHP NEWS - Standard: . Fixed bug #78282 (atime and mtime mismatch). (cmb) + . Fixed bug #73535 (php_sockop_write() returns 0 on error, can be used to + trigger Denial of Service). (Nikita) 11 Jul 2019, PHP 7.4.0alpha3 diff --git a/UPGRADING b/UPGRADING index 8dd238ee58..5d38e596aa 100644 --- a/UPGRADING +++ b/UPGRADING @@ -139,6 +139,9 @@ PHP 7.4 UPGRADE NOTES warning) if it is used with an encoding for which only basic entity substitution is supported, in which case it is equivalent to htmlspecialchars(). + . fread() and fwrite() will now return false if the operation failed. + Previously an empty string or 0 was returned. EAGAIN/EWOULDBLOCK are not + considered failures. - Tokenizer: . token_get_all() will now emit a T_BAD_CHARACTER token for unexpected diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index 50d1162cf5..8c85e6ddd0 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -25,6 +25,7 @@ PHP 7.4 INTERNALS UPGRADE NOTES v. Compound assignment opcodes w. APACHE symbol removed x. php_error_docref0() renamed to php_error_docref() + y. Stream wrapper read/write ops 2. Build system changes a. Abstract @@ -225,6 +226,9 @@ PHP 7.4 INTERNALS UPGRADE NOTES x. php_error_docref0() has been removed and renamed to php_error_docref(). + y. The read and write operations of php_stream_ops now return ssize_t, with + negative values indicating an error. + ======================== 2. Build system changes ======================== -- 2.40.0