Fix a bug in sysctl()'s handling of user data. You can't wire 0 bytes
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 16 Sep 2006 03:32:44 +0000 (03:32 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 16 Sep 2006 03:32:44 +0000 (03:32 +0000)
commitfc00aa2bfe23ca6402384e653458c2f508a60737
tree5d16f7cd5e175c71a102a20a703d4649c4900ab8
parent0c8a07394eb072738bcb0d795e5205a52aa68239
Fix a bug in sysctl()'s handling of user data.  You can't wire 0 bytes
without blowing up vm_map_wire().

Reported-by: Ilja van Sprundel
Found-using: A trivial system call fuzzer
sys/vm/vm_glue.c