diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2015-06-04 23:18:23 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2018-12-08 10:04:13 -0800 |
commit | bcf7b5aa06c23aee00af7999b58cb96a8571ac42 (patch) | |
tree | 9edf012cc35ce19c8ff6bb4189f85e827c55d937 /src/GetMoEv.c | |
parent | 9bdfe9c9af11d77d66e5ff651e82b20e695cb460 (diff) |
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: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/GetMoEv.c')
0 files changed, 0 insertions, 0 deletions