in the great unp_gc rewrite, a null check was lost. we have spent some
authortedu <tedu@openbsd.org>
Tue, 12 Jul 2016 14:28:02 +0000 (14:28 +0000)
committertedu <tedu@openbsd.org>
Tue, 12 Jul 2016 14:28:02 +0000 (14:28 +0000)
commitfc98e2bdc0c653eee0b3e9a76a6d96f190c4eb04
tree2e86b4fcd5f89e860fdc86d3c898864bfa0ce0b0
parentc1c947534ab441dc28676d1fadec5fb78d92c4d5
in the great unp_gc rewrite, a null check was lost. we have spent some
time investigating and arguing about whether a NULL fp is a bug or not,
but what has become clear is that NULL fps get passed to unp_discard
and have been for quite some time.
restore old accomodating behavior by checking for null in unp_gc.
ok deraadt kettenis
sys/kern/uipc_usrreq.c