Avoid a NULL pointer deref when calling fchown() on a file descriptor belonging
authoranton <anton@openbsd.org>
Sun, 22 Jul 2018 06:31:17 +0000 (06:31 +0000)
committeranton <anton@openbsd.org>
Sun, 22 Jul 2018 06:31:17 +0000 (06:31 +0000)
commit6ea176221704e8bd4864f0cf0128f48cbe45de4d
tree94a992bdd91e0bbef1ef17448d943a9051eb0bfa
parent588d9d2be54e5113d7919d984cddf4cbbd853c49
Avoid a NULL pointer deref when calling fchown() on a file descriptor belonging
to a cloned device.

ok kettenis@
sys/kern/vfs_syscalls.c