From 6ef9cc37f0ea151a54e5c8a19950a6d5b6ff8a96 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Wed, 5 Sep 2012 21:49:00 +0530 Subject: Return requested size for malloc_usable_size when MALLOC_CHECK_ > 0 [BZ #1349] malloc_usable_size returns the usable size in an allocated chunk, which may be >= the requested size. In the case of MALLOC_CHECK_ being exported to > 0 however, only the requested size is usable, since a magic value is written at the end of the request size to trap writes beyond request bounds. Hence, when MALLOC_CHECK_ is exported to > 0, malloc_usable_size() should return the request size. --- NEWS | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 4d32679095..caf8df16a2 100644 --- a/NEWS +++ b/NEWS @@ -9,10 +9,10 @@ Version 2.17 * The following bugs are resolved with this release: - 3479, 5400, 6778, 6808, 9685, 9914, 11607, 13412, 13717, 13696, 13939, - 13966, 14042, 14090, 14166, 14150, 14151, 14154, 14157, 14166, 14173, - 14195, 14252, 14283, 14298, 14303, 14307, 14328, 14331, 14336, 14337, - 14347, 14349, 14459, 14476, 14505, 14516, 14519, 14532, 14538 + 1349, 3479, 5400, 6778, 6808, 9685, 9914, 11607, 13412, 13717, 13696, + 13939, 13966, 14042, 14090, 14166, 14150, 14151, 14154, 14157, 14166, + 14173, 14195, 14252, 14283, 14298, 14303, 14307, 14328, 14331, 14336, + 14337, 14347, 14349, 14459, 14476, 14505, 14516, 14519, 14532, 14538 * Support for STT_GNU_IFUNC symbols added for s390 and s390x. Optimized versions of memcpy, memset, and memcmp added for System z10 and -- cgit 1.4.1