> In glibc 2.30 and later, malloc, realloc and calloc reject > attempts to create objects larger than PTRDIFF_MAX bytes. > This patch changes malloc-gnu etc. to support this behavior > on non-GNU hosts.
How about extending the unit test (tests/test-malloc-gnu.c) accordingly? Bruno