OpenBSD/src nNFO2cT — sys/kern vfs_syscalls.c
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
Version | Delta | File | |
---|---|---|---|
1.318 | +4 | -1 | sys/kern/vfs_syscalls.c |
+4 | -1 | 1 files |