[php-src] PHP-8.5: Merge branch 'PHP-8.4' into PHP-8.5
| From: | Weilin Du | Date: | Sun, 01 Nov 2026 16:59:23 +0000 |
| Subject: | [php-src] PHP-8.5: Merge branch 'PHP-8.4' into PHP-8.5 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-143171@lists.php.net to get a copy of this message | ||
Author: Weilin Du (LamentXU123)
Date: 2026-11-02T00:36:04+08:00
Commit: https://github.com/php/php-src/commit/b054073410eaad7c335f41311e76793df74f38da
Raw diff: https://github.com/php/php-src/commit/b054073410eaad7c335f41311e76793df74f38da.diff
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
Fix free of uninitialized date last_errors after a failed request startup (#25127)
Changed paths:
M ext/date/php_date.c
Diff:
diff --git a/ext/date/php_date.c b/ext/date/php_date.c
index 33a6c5b3ccfc..c36439b11743 100644
--- a/ext/date/php_date.c
+++ b/ext/date/php_date.c
@@ -390,6 +390,7 @@ static PHP_GINIT_FUNCTION(date)
date_globals->default_timezone = NULL;
date_globals->timezone = NULL;
date_globals->tzcache = NULL;
+ date_globals->last_errors = NULL;
}
/* }}} */