Skip to content
Branch: master
Find file History
Adam Maris DJ Delorie
Adam Maris and DJ Delorie malloc: Check for large bin list corruption when inserting unsorted c…
…hunk

Fixes bug 24216. This patch adds security checks for bk and bk_nextsize pointers
of chunks in large bin when inserting chunk from unsorted bin. It was possible
to write the pointer to victim (newly inserted chunk) to arbitrary memory
locations if bk or bk_nextsize pointers of the next large bin chunk
got corrupted.
Latest commit 5b06f53 Mar 15, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Depend Update. Oct 4, 1999
Makefile Update copyright dates with scripts/update-copyrights. Jan 1, 2019
Versions Implement allocation buffers for internal use Jun 21, 2017
alloc_buffer_alloc_array.c Update copyright dates with scripts/update-copyrights. Jan 1, 2019
alloc_buffer_allocate.c
alloc_buffer_copy_bytes.c
alloc_buffer_copy_string.c
alloc_buffer_create_failure.c
arena.c Update copyright dates with scripts/update-copyrights. Jan 1, 2019
dynarray-skeleton.c
dynarray.h
dynarray_at_failure.c
dynarray_emplace_enlarge.c Update copyright dates with scripts/update-copyrights. Jan 1, 2019
dynarray_finalize.c
dynarray_resize.c Update copyright dates with scripts/update-copyrights. Jan 1, 2019
dynarray_resize_clear.c
hooks.c
malloc-hooks.h
malloc-internal.h Update copyright dates with scripts/update-copyrights. Jan 1, 2019
malloc.c malloc: Check for large bin list corruption when inserting unsorted c… Mar 14, 2019
malloc.h
mallocbug.c Reformat malloc to gnu style. Jan 2, 2014
mcheck-init.c Update copyright dates with scripts/update-copyrights. Jan 1, 2019
mcheck.c
mcheck.h
memusage.c Update copyright dates with scripts/update-copyrights. Jan 1, 2019
memusage.sh Update copyright dates not handled by scripts/update-copyrights. Jan 1, 2019
memusagestat.c
morecore.c Update copyright dates with scripts/update-copyrights. Jan 1, 2019
mtrace.c
mtrace.pl
obstack.c
obstack.h
reallocarray.c
scratch_buffer_grow.c Update copyright dates with scripts/update-copyrights. Jan 1, 2019
scratch_buffer_grow_preserve.c
scratch_buffer_set_array_size.c
set-freeres.c
thread-freeres.c
tst-alloc_buffer.c Update copyright dates with scripts/update-copyrights. Jan 1, 2019
tst-calloc.c Update copyright dates with scripts/update-copyrights. Jan 1, 2019
tst-dynarray-at-fail.c
tst-dynarray-fail.c
tst-dynarray-shared.h Update copyright dates with scripts/update-copyrights. Jan 1, 2019
tst-dynarray.c
tst-interpose-aux-nothread.c
tst-interpose-aux-thread.c
tst-interpose-aux.c
tst-interpose-aux.h
tst-interpose-nothread.c Update copyright dates with scripts/update-copyrights. Jan 1, 2019
tst-interpose-skeleton.c
tst-interpose-static-nothread.c
tst-interpose-static-thread.c
tst-interpose-thread.c Update copyright dates with scripts/update-copyrights. Jan 1, 2019
tst-malloc-backtrace.c
tst-malloc-fork-deadlock.c Update copyright dates with scripts/update-copyrights. Jan 1, 2019
tst-malloc-stats-cancellation.c
tst-malloc-tcache-leak.c Update copyright dates with scripts/update-copyrights. Jan 1, 2019
tst-malloc-thread-exit.c Update copyright dates with scripts/update-copyrights. Jan 1, 2019
tst-malloc-thread-fail.c
tst-malloc-too-large.c
tst-malloc-usable-static-tunables.c
tst-malloc-usable-static.c Add framework for tunables Dec 31, 2016
tst-malloc-usable-tunables.c
tst-malloc-usable.c
tst-malloc.c
tst-malloc_info.c
tst-mallocfork.c
tst-mallocfork2.c
tst-mallocstate.c
tst-mallopt.c Update copyright dates with scripts/update-copyrights. Jan 1, 2019
tst-mcheck.c
tst-memalign.c Update copyright dates with scripts/update-copyrights. Jan 1, 2019
tst-mtrace.c
tst-mtrace.sh Update copyright dates with scripts/update-copyrights. Jan 1, 2019
tst-obstack.c
tst-posix_memalign.c
tst-pvalloc.c
tst-realloc.c
tst-reallocarray.c Update copyright dates with scripts/update-copyrights. Jan 1, 2019
tst-scratch_buffer.c Update copyright dates with scripts/update-copyrights. Jan 1, 2019
tst-tcfree1.c Update copyright dates with scripts/update-copyrights. Jan 1, 2019
tst-tcfree2.c Update copyright dates with scripts/update-copyrights. Jan 1, 2019
tst-tcfree3.c
tst-trim1.c
tst-valloc.c
You can’t perform that action at this time.