about summary refs log tree commit diff
path: root/malloc/Makefile
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2021-05-17 14:00:19 +0200
committerAndreas Schwab <schwab@linux-m68k.org>2021-05-17 21:39:23 +0200
commitc6b6b4f2c7ff62abf5da617bff9d8080631993c0 (patch)
treecc0c164211316a09c6bfeff85836e35489ec86e0 /malloc/Makefile
parentf4605e611a93891b1fdf8d0f48b3fba0d572f1ad (diff)
downloadglibc-c6b6b4f2c7ff62abf5da617bff9d8080631993c0.tar.gz
glibc-c6b6b4f2c7ff62abf5da617bff9d8080631993c0.tar.xz
glibc-c6b6b4f2c7ff62abf5da617bff9d8080631993c0.zip
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.
Diffstat (limited to 'malloc/Makefile')
-rw-r--r--malloc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/Makefile b/malloc/Makefile
index afcd296ef6..857e2ebbd9 100644
--- a/malloc/Makefile
+++ b/malloc/Makefile
@@ -72,7 +72,7 @@ test-srcs = tst-mtrace
 # with MALLOC_CHECK_=3 because they expect a specific failure.
 tests-exclude-mcheck = tst-mcheck tst-malloc-usable \
 	tst-interpose-nothread tst-interpose-static-nothread \
-	tst-interpose-static-thread tst-malloc-too-large \
+	tst-interpose-static-thread \
 	tst-mxfast tst-safe-linking
 
 # Run all tests with MALLOC_CHECK_=3