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-11-03 13:52:34 +00:00
2017-11-03 13:52:34 +00:00
2017-10-29 08:17:03 +00:00
2017-12-29 23:58:05 +00:00
2018-01-07 13:21:01 +00:00
2018-01-04 17:58:48 +00:00
2017-11-03 13:52:34 +00:00
2017-11-03 13:52:34 +00:00
2017-12-31 06:58:58 +00:00