glibc/malloc
DJ Delorie 16554464bc Correct range checking in mallopt/mxfast/tcache [BZ #25194]
do_set_tcache_max, do_set_mxfast:
Fix two instances of comparing "size_t < 0"
Both cases have upper limit, so the "negative value" case
is already handled via overflow semantics.

do_set_tcache_max, do_set_tcache_count:
Fix return value on error.  Note: currently not used.

mallopt:
pass return value of helper functions to user.  Behavior should
only be actually changed for mxfast, where we restore the old
(pre-tunables) behavior.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2019-12-05 16:46:37 -05:00
..
alloc_buffer_alloc_array.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
alloc_buffer_allocate.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
alloc_buffer_copy_bytes.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
alloc_buffer_copy_string.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
alloc_buffer_create_failure.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
arena.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
Depend malloc: Add nptl, htl dependency for the subdirectory [BZ #24757] 2019-07-02 16:51:13 +02:00
dynarray_at_failure.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dynarray_emplace_enlarge.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dynarray_finalize.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dynarray_resize_clear.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dynarray_resize.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dynarray-skeleton.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dynarray.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
hooks.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
Makefile Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
malloc-hooks.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
malloc-internal.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
malloc.c Correct range checking in mallopt/mxfast/tcache [BZ #25194] 2019-12-05 16:46:37 -05:00
malloc.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
mallocbug.c
mcheck-init.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
mcheck.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
mcheck.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
memusage.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
memusage.sh Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
memusagestat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
morecore.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
mtrace.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
mtrace.pl Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
obstack.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
obstack.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
reallocarray.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
scratch_buffer_grow_preserve.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
scratch_buffer_grow.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
scratch_buffer_set_array_size.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
set-freeres.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
thread-freeres.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-alloc_buffer.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-calloc.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-dynarray-at-fail.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-dynarray-fail.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-dynarray-shared.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-dynarray.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-interpose-aux-nothread.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-interpose-aux-thread.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-interpose-aux.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-interpose-aux.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-interpose-nothread.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-interpose-skeleton.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-interpose-static-nothread.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-interpose-static-thread.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-interpose-thread.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-malloc_info.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-malloc-backtrace.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-malloc-fork-deadlock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-malloc-stats-cancellation.c [BZ #22830] malloc_stats: restore cancellation for stderr correctly. 2018-02-10 16:24:17 -05:00
tst-malloc-tcache-leak.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-malloc-thread-exit.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-malloc-thread-fail.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-malloc-too-large.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-malloc-usable-static-tunables.c
tst-malloc-usable-static.c
tst-malloc-usable-tunables.c
tst-malloc-usable.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-malloc.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-mallocfork2.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-mallocfork.c Fix malloc tests build with GCC 10. 2019-06-10 22:12:08 +00:00
tst-mallocstate.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-mallopt.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-mcheck.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-memalign.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-mtrace.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-mtrace.sh Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-mxfast.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-obstack.c
tst-posix_memalign.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-pvalloc.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-realloc.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-reallocarray.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-scratch_buffer.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-tcfree1.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-tcfree2.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-tcfree3.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-trim1.c
tst-valloc.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
Versions Implement allocation buffers for internal use 2017-06-21 22:43:57 +02:00