-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Internal Code
-
Fully Compatible
-
ALL
-
Platforms 2017-10-23, Platforms 2017-11-13, Platforms 2017-12-04
In initialize_server_global_state.cpp, there are two calls to waitpid() that do not check to see if it returned an error before looking at the returned process status. waitpid() can possibly return -1 and set errno to ECHILD, which would invalidate the process status. (These problems were flagged by Coverity.)