summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2019-06-15 15:28:55 +0000
committerderaadt <deraadt@openbsd.org>2019-06-15 15:28:55 +0000
commitdf78be12e7f55e17aefb99b73e999afa35e8ad02 (patch)
tree41906f7725f654583624b94a4fc90356846cbba9 /lib/libc/stdlib
parentFix previous commit and unbreak the tree. (diff)
downloadwireguard-openbsd-df78be12e7f55e17aefb99b73e999afa35e8ad02.tar.xz
wireguard-openbsd-df78be12e7f55e17aefb99b73e999afa35e8ad02.zip
Have __realpath() do the pathname==NULL -> EINVAL check itself, eliminating
the need to do this in libc. btw, it is unfortunate posix went this way, because converting a clearly illegal condition to not be fatal but instead return an error which is potentially not checked in the caller, is sadly a large component of the runaway-train model that makes exploitation of software easy.. illegal software should crash hard. ok beck
Diffstat (limited to 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions