[php-src] PR #23412: Fix three Win32-only defects in proc_open descriptor handling
| From: | iliaal | Date: | Sat, 22 Aug 2026 14:52:47 +0000 |
| Subject: | [php-src] PR #23412: Fix three Win32-only defects in proc_open descriptor handling | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-38076@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23412
Author: iliaal
Fix three Win32-only defects in proc_open: init_process_info() memset the pointer parameter instead
of the PROCESS_INFORMATION structure it points at; find_comspec_nt()'s cleanup dereferenced
*comspec before the caller assigned it on the SearchPathW() failure path; and
set_proc_descriptor_to_blackhole() tested CreateFileA() against NULL instead of
INVALID_HANDLE_VALUE.