zephyr/lib/libc
Martin Åberg 180ce491ad libc/minimal: reallocarray() in terms of realloc()
reallocarray() is defined in terms of realloc(). From OpenBSD manual
pages:
    "Designed for safe allocation of arrays, the reallocarray()
    function is similar to realloc() except it operates on nmemb
    members of size size and checks for integer overflow in the
    calculation nmemb * size."

The return value of sys_heap_realloc() is not compatible with that
of realloc().

Signed-off-by: Martin Åberg <martin.aberg@gaisler.com>
2021-01-24 10:11:11 -05:00
..
minimal libc/minimal: reallocarray() in terms of realloc() 2021-01-24 10:11:11 -05:00
newlib newlib: clamp max heap size on MMU systems 2021-01-23 19:47:23 -05:00
CMakeLists.txt
Kconfig newlib: clamp max heap size on MMU systems 2021-01-23 19:47:23 -05:00