]> sourceware.org Git - glibc.git/commit
Missing ENOMEM in realloc_check wrapper (bug 27870)
authorAndreas Schwab <schwab@linux-m68k.org>
Mon, 17 May 2021 12:00:19 +0000 (14:00 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Mon, 17 May 2021 19:39:23 +0000 (21:39 +0200)
commitc6b6b4f2c7ff62abf5da617bff9d8080631993c0
treecc0c164211316a09c6bfeff85836e35489ec86e0
parentf4605e611a93891b1fdf8d0f48b3fba0d572f1ad
Missing ENOMEM in realloc_check wrapper (bug 27870)

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.
malloc/Makefile
malloc/hooks.c
This page took 0.042205 seconds and 5 git commands to generate.