mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4: Add missing clobbered registers
This commit is contained in:
2
NEWS
2
NEWS
@@ -2,6 +2,8 @@ PHP NEWS
|
||||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||
?? ??? ????, PHP 8.5.4
|
||||
|
||||
- Core:
|
||||
. Fixed bug GH-21029 (zend_mm_heap corrupted on Aarch64, LTO builds). (Arnaud)
|
||||
|
||||
29 Jan 2026, PHP 8.5.3
|
||||
|
||||
|
||||
@@ -255,7 +255,8 @@ static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, si
|
||||
: "=&r"(res), "=&r"(m_overflow)
|
||||
: "r"(nmemb),
|
||||
"r"(size),
|
||||
"r"(offset));
|
||||
"r"(offset)
|
||||
: "cc");
|
||||
|
||||
if (UNEXPECTED(m_overflow)) {
|
||||
*overflow = 1;
|
||||
@@ -279,7 +280,8 @@ static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, si
|
||||
: "=&r"(res), "=&r"(m_overflow)
|
||||
: "r"(nmemb),
|
||||
"r"(size),
|
||||
"r"(offset));
|
||||
"r"(offset)
|
||||
: "xer");
|
||||
|
||||
if (UNEXPECTED(m_overflow)) {
|
||||
*overflow = 1;
|
||||
|
||||
Reference in New Issue
Block a user