summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2017-09-25 19:13:56 +0000
committerkrw <krw@openbsd.org>2017-09-25 19:13:56 +0000
commit2ee209bb06783d63f2142c242c03ccea15ab9795 (patch)
treedf8c09626d4083c43f30991487691477e67ecd9f /lib/libc
parentthe Alea I works fine with urng(4) so update the manpage accordingly (diff)
downloadwireguard-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