Re: [PATCH] check file descriptor validity
Applied with minor edit (waitpid_error is not appropriate here). Thank you. Regards, Sergey
[PATCH] check file descriptor validity
From: Matteo Croce A missing safety check trigger this warning (which become an errow with -Werror): system.c: In function ‘sys_exec_info_script’: system.c:841:12: error: use of possibly-NULL ‘fp’ where non-null expected [CWE-690] [-Werror=analyzer-possible-null-arg