kp 69291826ac Introduce mallocarray() in the kernel
Similar to calloc() the mallocarray() function checks for integer
overflows before allocating memory.
It does not zero memory, unless the M_ZERO flag is set.

Reviewed by:	pfg, vangyzen (previous version), imp (previous version)
Obtained from:	OpenBSD
Differential Revision:	https://reviews.freebsd.org/D13766
2018-01-07 13:21:01 +00:00
..
2017-12-04 13:28:56 +00:00
2017-12-28 20:40:56 +00:00
2017-12-30 03:08:49 +00:00
2018-01-07 13:21:01 +00:00