CVSROOT: /cvs Module name: src Changes by: [email protected] 2017/09/25 13:13:56
Modified files:
usr.bin/calendar: io.c
Log message:
Calling waitpid(pid,...) where pid is either uninitialized or
-1 because vflork() failed is bad. Initialize pid to -1 and call
waitpid() only when pid != -1.
Uninitialized use of pid found by clang.
Suggestion of -1 from millert@.
ok millert@
