cem 2c9ae2323b mallocarray(9): panic if the requested allocation would overflow
Additionally, move the overflow check logic out to WOULD_OVERFLOW() for
consumers to have a common means of testing for overflowing allocations.
WOULD_OVERFLOW() should be a secondary check -- on 64-bit platforms, just
because an allocation won't overflow size_t does not mean it is a sane size
to request.  Callers should be imposing reasonable allocation limits far,
far, below overflow.

Discussed with:	emaste, jhb, kp
Sponsored by:	Dell EMC Isilon
2018-01-10 21:49:45 +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-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
2017-08-02 08:38:36 +00:00