mirror of
https://github.com/mirror/make.git
synced 2025-01-19 16:50:19 +08:00
[SV 47942] Avoid random crashes in subordinate programs on MS-Windows
* w32/subproc/sub_proc.c (process_begin): Zero out startInfo before using it. Fixes crashes in Intel Fortran compiler invoked by Make.
This commit is contained in:
parent
6e640321fd
commit
4c9e10fd94
@ -677,6 +677,7 @@ process_begin(
|
||||
/*
|
||||
* Set up inherited stdin, stdout, stderr for child
|
||||
*/
|
||||
memset(&startInfo, sizeof(startInfo));
|
||||
GetStartupInfo(&startInfo);
|
||||
startInfo.dwFlags = STARTF_USESTDHANDLES;
|
||||
startInfo.lpReserved = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user