add a check that the arguments to isavail don't overflow.
authortedu <tedu@openbsd.org>
Fri, 29 Jul 2016 20:44:40 +0000 (20:44 +0000)
committertedu <tedu@openbsd.org>
Fri, 29 Jul 2016 20:44:40 +0000 (20:44 +0000)
commit5e38141c55bce6ceeaf7c96a4314e752c291a198
treec8408ef6e55e58df35a082bf68275556cecfedc9
parentd9d225e44d6462191a30350d423af47ac33ca59e
add a check that the arguments to isavail don't overflow.
callers should probably check too, but checking here won't hurt.
possible panic reported by tim newsham.
ok kettenis
sys/uvm/uvm_map.c