glibc/malloc
Siddhesh Poyarekar 6ef9cc37f0 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.
2012-09-05 21:49:30 +05:30
..
arena.c Make malloc build for no-threads configurations. 2012-08-17 11:29:45 -07:00
Depend Update. 1999-10-04 22:59:43 +00:00
hooks.c Return requested size for malloc_usable_size when MALLOC_CHECK_ > 0 2012-09-05 21:49:30 +05:30
Makefile Return requested size for malloc_usable_size when MALLOC_CHECK_ > 0 2012-09-05 21:49:30 +05:30
malloc.c Return requested size for malloc_usable_size when MALLOC_CHECK_ > 0 2012-09-05 21:49:30 +05:30
malloc.h Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
mallocbug.c Avoid warnings in test malloc program 2012-03-28 13:05:11 -04:00
mcheck-init.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
mcheck.c Fix tst-obprintf - and mcheck in general 2012-05-03 22:12:59 +02:00
mcheck.h Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
memusage.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
memusage.sh Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
memusagestat.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
morecore.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
mtrace.c Rename __secure_getenv to secure_getenv 2012-07-25 19:46:22 +02:00
mtrace.pl Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
obstack.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
obstack.h Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
set-freeres.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
thread-freeres.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-calloc.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-malloc-usable.c Return requested size for malloc_usable_size when MALLOC_CHECK_ > 0 2012-09-05 21:49:30 +05:30
tst-malloc.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-mallocfork.c * malloc/tst-mallocfork.c (do_test): Make sure sa_flags is 2005-12-06 00:50:15 +00:00
tst-mallocstate.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-mcheck.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-mtrace.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-mtrace.sh Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-obstack.c Update. 2000-11-20 17:40:29 +00:00
tst-trim1.c * malloc/tst-trim1.c: New file. 2007-12-16 22:57:57 +00:00
tst-valloc.c Update. 2000-11-20 17:40:29 +00:00
Versions Implement aligned_alloc 2012-01-01 07:17:21 -05:00