view modules/reallocarray-tests @ 19049:85f973d6fa55

reallocarray: New module reallocarray is a new function in glibc 2.26 to safely allocate an array of memory locations with integer overflow protection. * MODULES.html.sh: Add reallocarray. * doc/glibc-functions/reallocarray.texi: Documentation for reallocarray. * lib/reallocarray.c: New file to implement module reallocarray. * lib/stdlib.in.h: Add function declarations for reallocarray. * m4/reallocarray.m4: New file. * m4/stdlib_h.m4: Declare reallocarray. * modules/reallocarray: New file. * modules/reallocarray-test: New file. * modules/stdlib: Coerce stdlib.h to export reallocarray. * tests/test-reallocarray.c: New test.
author Darshit Shah <darnir@gnu.org>
date Sun, 13 Aug 2017 10:13:33 -0700
parents
children
line wrap: on
line source

Files:
tests/test-reallocarray.c
tests/signature.h

Depends-on:

configure.ac:

Makefile.am:
TESTS += test-reallocarray
check_PROGRAMS += test-reallocarray