[php-src] PHP-8.6: Merge branch 'PHP-8.4' into PHP-8.5

From: Date: Fri, 16 Oct 2026 18:27:16 +0000
Subject: [php-src] PHP-8.6: Merge branch 'PHP-8.4' into PHP-8.5
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-142361@lists.php.net to get a copy of this message
Author: Jorg Sowa (jorgsowa) Date: 2026-10-16T20:24:31+02:00 Commit: https://github.com/php/php-src/commit/b94db20dfe9b2e78984069d52af530563e647b44 Raw diff: https://github.com/php/php-src/commit/b94db20dfe9b2e78984069d52af530563e647b44.diff Merge branch 'PHP-8.4' into PHP-8.5 Changed paths: M NEWS M ext/standard/proc_open.c Diff: diff --git a/NEWS b/NEWS index 03e260b79e1b..4b737751b074 100644 --- a/NEWS +++ b/NEWS @@ -83,6 +83,8 @@ PHP NEWS - Standard: . Fixed password_get_info() and password_needs_rehash() accepting malformed bcrypt costs. (Ilia Alshanetsky) + . Fixed proc_open() null descriptor not being inheritable on Windows. + (Jorg Sowa) - Tidy: . Fixed tidy_repair_string(), tidy_repair_file(), tidy::repairString() and diff --git a/ext/standard/proc_open.c b/ext/standard/proc_open.c index 22c92b916cc9..3b5a46a20145 100644 --- a/ext/standard/proc_open.c +++ b/ext/standard/proc_open.c @@ -843,7 +843,7 @@ static zend_result set_proc_descriptor_to_blackhole(descriptorspec_item *desc) { #ifdef PHP_WIN32 desc->childend = CreateFileA("nul", GENERIC_READ | GENERIC_WRITE, - FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, 0, NULL); + FILE_SHARE_READ | FILE_SHARE_WRITE, &php_proc_open_security, OPEN_EXISTING, 0, NULL); if (desc->childend == INVALID_HANDLE_VALUE) { php_error_docref(NULL, E_WARNING, "Failed to open nul"); return FAILURE;

« previous php.cvs (#142361) next »