Searched hist:73078 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/sys/net/
H A Dif_media.cdiff 73078 Mon Feb 26 07:07:55 MST 2001 alfred 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>

Completed in 114 milliseconds