summaryrefslogtreecommitdiff
path: root/src/malloc/reallocarray.c
AgeCommit message (Collapse)AuthorLines
2020-11-30implement reallocarrayAriadne Conill-0/+13
reallocarray is an extension introduced by OpenBSD, which introduces calloc overflow checking to realloc. glibc 2.28 introduced support for this function behind _GNU_SOURCE, while glibc 2.29 allows its usage in _DEFAULT_SOURCE.