Projects
home:rottame:vhosts-ng:php80
php8
php8-CVE-2026-129496.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php8-CVE-2026-129496.patch of Package php8
From f986c5ca37c0fdc50595d8291a9920a1df23bf38 Mon Sep 17 00:00:00 2001 From: Ilija Tovilo <ilija.tovilo@me.com> Date: Sun, 15 Nov 2026 15:25:20 +0100 Subject: [PATCH] Fix GHSA-gr4f-wgx5-jpfv: DATEG(tzcache) use-after-free --- ext/date/tests/GHSA-gr4f-wgx5-jpfv.phpt | 22 ++++++++++++++++++++++ ext/zend_test/php_test.h | 1 + ext/zend_test/test.c | 12 ++++++++++++ main/main.c | 10 +--------- 4 files changed, 36 insertions(+), 9 deletions(-) create mode 100644 ext/date/tests/GHSA-gr4f-wgx5-jpfv.phpt Index: php-8.0.30/main/main.c =================================================================== --- php-8.0.30.orig/main/main.c +++ php-8.0.30/main/main.c @@ -827,15 +827,7 @@ PHPAPI ZEND_COLD void php_log_err_with_s zend_string *error_time_str; time(&error_time); -#ifdef ZTS - if (!php_during_module_startup()) { - error_time_str = php_format_date("d-M-Y H:i:s e", 13, error_time, 1); - } else { - error_time_str = php_format_date("d-M-Y H:i:s e", 13, error_time, 0); - } -#else - error_time_str = php_format_date("d-M-Y H:i:s e", 13, error_time, 1); -#endif + error_time_str = php_format_date("d-M-Y H:i:s e", 13, error_time, PG(modules_activated) && EG(active)); len = spprintf(&tmp, 0, "[%s] %s%s", ZSTR_VAL(error_time_str), log_message, PHP_EOL); #ifdef PHP_WIN32 php_flock(fd, LOCK_EX);
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.