[PATCH] Missing ENOMEM in realloc_check wrapper (bug 27870)

DJ Delorie dj@redhat.com
Mon May 17 18:50:52 GMT 2021


Andreas Schwab <schwab@linux-m68k.org> writes:
> When MALLOC_CHECK_ is non-zero, the realloc hook missed to set errno to
> ENOMEM when called with too big size.  Run the test tst-malloc-too-large
> also with MALLOC_CHECK_=3 to catch that.

LGTM.

Reviewed-by: DJ Delorie <dj@redhat.com>



More information about the Libc-alpha mailing list