Add an assertion to sys_pipe to cover a possible overrun case and reorder
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 11 May 2004 18:05:08 +0000 (18:05 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 11 May 2004 18:05:08 +0000 (18:05 +0000)
commitabd7306864a3ce91e4fb07862c89b474dbcbf914
tree0ddace54c085be4dae28c3a54785255bf572c058
parentf647ad3dbf0eec44c742eac7fc6eb293553cf639
Add an assertion to sys_pipe to cover a possible overrun case and reorder
the zone cache code in zalloc() to not assign the link pointer until
after various sanity checks are performed.
sys/kern/sys_pipe.c
sys/vm/vm_zone.c