[GIT-PULLS] [php-src] PR #23412: Fix three Win32-only defects in proc_open descriptor handling
[email protected] (iliaal)
| Newsgroups | php.git-pulls |
|---|---|
| Message-ID | <[email protected]> |
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.