| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2013-10-25 | malloc: Check for integer overflow in memalign. | Will Newton | 1 | -0/+7 | |
| A large bytes parameter to memalign could cause an integer overflow and corrupt allocator internals. Check the overflow does not occur before continuing with the allocation. ChangeLog: 2013-09-11 Will Newton <will.newton@linaro.org> [BZ #15857] * malloc/malloc.c (__libc_memalign): Check the value of bytes does not overflow. (cherry picked from commit b73ed247781d533628b681f57257dc85882645d3) | |||||
| 2013-10-25 | malloc: Check for integer overflow in valloc. | Will Newton | 1 | -0/+7 | |
| A large bytes parameter to valloc could cause an integer overflow and corrupt allocator internals. Check the overflow does not occur before continuing with the allocation. ChangeLog: 2013-09-11 Will Newton <will.newton@linaro.org> [BZ #15856] * malloc/malloc.c (__libc_valloc): Check the value of bytes does not overflow. (cherry picked from commit 55e17aadc1ef17a1df9626fb0e9fba290ece3331) | |||||
| 2013-10-25 | malloc: Check for integer overflow in pvalloc. | Will Newton | 1 | -0/+7 | |
| A large bytes parameter to pvalloc could cause an integer overflow and corrupt allocator internals. Check the overflow does not occur before continuing with the allocation. ChangeLog: 2013-09-11 Will Newton <will.newton@linaro.org> [BZ #15855] * malloc/malloc.c (__libc_pvalloc): Check the value of bytes does not overflow. (cherry picked from commit 1159a193696ad48ec86e5895f6dee3e539619c0e) | |||||
| 2013-06-08 | Use (void) in no-arguments function definitions. | Joseph Myers | 1 | -1/+1 | |
| 2013-03-08 | Remove __malloc_ptr_t. | Joseph Myers | 1 | -19/+19 | |
| 2013-01-17 | Add HAVE_MREMAP for mremap usage | Pino Toscano | 1 | -8/+4 | |
| Introduce (only on Linux) and use a HAVE_MREMAP symbol to advertize mremap availability. Move the malloc-sysdep.h include from arena.c to malloc.c, since what is provided by malloc-sysdep.h is needed earlier in malloc.c, before the inclusion of arena.c. | |||||
| 2013-01-07 | Clean up __MALLOC_* macros. | Joseph Myers | 1 | -15/+11 | |
| 2013-01-02 | Update copyright notices with scripts/update-copyrights. | Joseph Myers | 1 | -1/+1 | |
| 2012-10-04 | Name space hygeine for madvise. | Roland McGrath | 1 | -1/+1 | |
| 2012-10-02 | Clarify memory allocation error diagnostics to avoid confusion | Dmitry V. Levin | 1 | -2/+1 | |
| 2012-09-07 | Cleanup code duplication in malloc on fallback to use another arena | Siddhesh Poyarekar | 1 | -75/+11 | |
| Break the fallback code to try another arena into a separate function for readability. | |||||
| 2012-09-05 | * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation. | Alexandre Oliva | 1 | -2/+2 | |
| 2012-09-05 | Don't change no_dyn_threshold on mallopt failure | Alexandre Oliva | 1 | -2/+4 | |
| * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not change internal state upon failure. | |||||
| 2012-09-05 | Return requested size for malloc_usable_size when MALLOC_CHECK_ > 0 | Siddhesh Poyarekar | 1 | -1/+4 | |
| [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-08-17 | Make malloc build for no-threads configurations. | Roland McGrath | 1 | -1/+2 | |
| 2012-08-10 | Fix whitespace problems detected by commit hooks. | Jeff Law | 1 | -6/+6 | |
| 2012-08-10 | [BZ #13939] | Jeff Law | 1 | -21/+32 | |
| * malloc.c/arena.c (reused_arena): New parameter, avoid_arena. When avoid_arena is set, don't retry in the that arena. Pick the next one, whatever it might be. (arena_get2): New parameter avoid_arena, pass through to reused_arena. (arena_lock): Pass in new parameter to arena_get2. * malloc/malloc.c (__libc_memalign): Pass in new parameter to arena_get2. (__libc_malloc): Unify retrying after main arena failure with __libc_memalign version. (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise. | |||||
| 2012-05-24 | Make free chunk size a multiple of MALLOC_ALIGNMENT | H.J. Lu | 1 | -4/+6 | |
| 2012-05-24 | Properly handle MALLOC_ALIGNMENT > 2 * SIZE_SZ | H.J. Lu | 1 | -14/+64 | |
| 2012-05-21 | Fix last change | Andreas Jaeger | 1 | -0/+2 | |
| Include shlib-compat.h for SHLIB_COMPAT. | |||||
| 2012-05-21 | Set MALLOC_ALIGNMENT to at least __alignof__ (long double) for new ABIs. | Roland McGrath | 1 | -10/+14 | |
| 2012-05-16 | For [BZ #208], accumulate malloc stats over all arenas. | Paul Pluzhnikov | 1 | -19/+32 | |
| 2012-03-20 | Move stdio-common/_itoa.h to sysdeps/generic | H.J. Lu | 1 | -1/+1 | |
| 2012-02-09 | Replace FSF snail mail address with URLs. | Paul Eggert | 1 | -3/+2 | |
| 2012-01-31 | Cleanups of malloc | Ulrich Drepper | 1 | -165/+110 | |
| Remove ugly names and unnecessary wrappers. | |||||
| 2012-01-17 | More minor malloc cleanups | Ulrich Drepper | 1 | -24/+1 | |
| 2012-01-16 | Minor cleanups of malloc code | Ulrich Drepper | 1 | -52/+0 | |
| 2012-01-07 | Remove pre-ISO C support | Ulrich Drepper | 1 | -9/+9 | |
| No more __const. | |||||
| 2012-01-01 | Implement aligned_alloc | Ulrich Drepper | 1 | -0/+2 | |
| 2011-10-29 | Avoid assertion in processes with VM in bad shape | Ulrich Drepper | 1 | -4/+4 | |
| 2011-09-10 | Remove MALLOC_FAILURE_ACTION use in malloc | Ulrich Drepper | 1 | -19/+4 | |
| 2011-09-10 | Simplify malloc initialization | Ulrich Drepper | 1 | -38/+31 | |
| Singificantly reduce the code needed at malloc initialization. In the process getpagesize is simplified by always initializing GLRO(dl_pagesize). | |||||
| 2011-09-10 | Simplify malloc code | Ulrich Drepper | 1 | -1447/+203 | |
| Remove all kinds of unused configuration options and dead code. | |||||
| 2011-09-10 | Remove support for !USE___THREAD | Ulrich Drepper | 1 | -13/+1 | |
| 2011-04-22 | Remove doubled words. | Jim Meyering | 1 | -2/+2 | |
| 2010-12-25 | Use fastbin macro everywhere. | Ulrich Drepper | 1 | -1/+1 | |
| 2010-10-24 | Fix perturbing in malloc on free. | Ulrich Drepper | 1 | -2/+2 | |
| 2010-08-16 | Replace divide and multiply with mask in sYSTRIm | Anton Blanchard | 1 | -1/+1 | |
| 2010-05-06 | Fix race in free sanity check. | Ulrich Drepper | 1 | -6/+9 | |
| 2010-04-14 | Remove unintended change. | Ulrich Drepper | 1 | -4/+0 | |
| 2010-04-14 | Optimie x86-64 SSE4 memcmp for unaligned data. | H.J. Lu | 1 | -0/+4 | |
| 2010-04-08 | Fix possibly uninitilized variable handling. | Ulrich Drepper | 1 | -0/+1 | |
| If malloc errors are ignored (which say aren't by default and never should be) malloc in the old, slow form might use an uninitialized variable. | |||||
| 2010-04-03 | One more sanity check in free. | Ulrich Drepper | 1 | -1/+14 | |
| 2010-04-03 | Fix set_max_fast in malloc. | Ulrich Drepper | 1 | -1/+2 | |
| 2010-03-26 | Remove stale reference to website | Ulrich Drepper | 1 | -2/+1 | |
| 2010-03-26 | Remove unwanted malloc changes, again. | Ulrich Drepper | 1 | -14/+1 | |
| 2010-03-25 | Merge branch 'master' of ssh://sources.redhat.com/git/glibc | Ulrich Drepper | 1 | -1/+14 | |
| Conflicts: ChangeLog | |||||
| 2010-02-24 | Fix typos I added in malloc.c | Ulrich Drepper | 1 | -2/+2 | |
| 2010-02-24 | Fix assertion in palloc and pvalloc as well. | Petr Baudis | 1 | -7/+9 | |
| 2010-02-10 | Undo unintended maloc change. | Ulrich Drepper | 1 | -15/+2 | |
