alfred ead0072315 Santize a size variable passed to kernel malloc.
Since we know there's always an upper bound we force that bound,
otherwise users can cause a panic via malloc getting hit with a
odd (huge or negative) amount of memory to allocate.

Tested by: kris
Pointed out by: Andrey Valyaev <dron@infosec.ru>
2001-02-26 09:07:55 +00:00
..
2000-12-27 22:20:13 +00:00
2000-10-27 08:38:26 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
2001-01-31 08:27:09 +00:00
1999-08-28 01:08:13 +00:00
2000-07-20 17:01:10 +00:00
2000-01-27 23:37:39 +00:00
2000-10-27 08:38:26 +00:00
1999-08-28 01:08:13 +00:00
1999-08-28 01:08:13 +00:00
2000-04-04 09:20:53 +00:00
1999-08-28 01:08:13 +00:00