diff options
author | 2017-09-25 19:13:56 +0000 | |
---|---|---|
committer | 2017-09-25 19:13:56 +0000 | |
commit | 2ee209bb06783d63f2142c242c03ccea15ab9795 (patch) | |
tree | df8c09626d4083c43f30991487691477e67ecd9f /lib/libc | |
parent | the Alea I works fine with urng(4) so update the manpage accordingly (diff) | |
download | wireguard-openbsd-2ee209bb06783d63f2142c242c03ccea15ab9795.tar.xz wireguard-openbsd-2ee209bb06783d63f2142c242c03ccea15ab9795.zip |
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@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions