Skip to content
Commit bcf7b5aa authored by Alan Coopersmith's avatar Alan Coopersmith
Browse files

Import reallocarray() from OpenBSD

Wrapper for realloc() that checks for overflow when multiplying
arguments together, so we don't have to add overflow checks to
every single call.  For documentation on usage, see:
http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/calloc.3



Signed-off-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
parent 9bdfe9c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment