summaryrefslogtreecommitdiff
path: root/malloc
AgeCommit message (Collapse)Author
2006-05-21Updated to fedora-glibc-20060521T2153cvs/fedora-glibc-2_4_90-9Jakub Jelinek
2006-04-24Updated to fedora-glibc-20060424T2027Jakub Jelinek
2006-03-06Updated to fedora-glibc-20060306T0720Jakub Jelinek
2006-03-02 * malloc/malloc.c (MALLOC_ALIGNMENT): Set to __alignof__ (long double)Jakub Jelinek
if long double is more aligned than 2 * SIZE_SZ. (misaligned_chunk): Define. (public_rEALLOc, _int_free, _int_realloc): Use it.
2006-01-30Updated to fedora-glibc-20060130T0922Jakub Jelinek
2006-01-02Updated to fedora-glibc-20060102T1045Jakub Jelinek
2005-12-20 * malloc/mtrace.c (__libc_malloc, __libc_free, __libc_realloc,cvs/fedora-glibc-2_3_90-20Jakub Jelinek
__libc_memalign): Add prototypes and libc_hidden_proto resp. defines for !_LIBC. (tr_freehook): Call __libc_free instead of free. (tr_mallochook): Call __libc_malloc instead of malloc. (tr_reallochook): Call __libc_realloc instead of realloc. (tr_memalignhook): Call __libc_memalign instead of memalign. * malloc/mcheck.c: Include stdlib.h. (__libc_malloc, __libc_free, __libc_realloc, __libc_memalign): Add prototypes and libc_hidden_proto resp. defines for !_LIBC. (freehook): Call __libc_free instead of free. (mallochook): Call __libc_malloc instead of malloc. (reallochook): Call __libc_realloc instead of realloc. (memalignhook): Call __libc_memalign instead of memalign. (mcheck): Call __libc_malloc and __libc_free instead of malloc and free.
2005-12-19Updated to fedora-glibc-20051219T1003cvs/fedora-glibc-2_3_90-19Jakub Jelinek
2005-11-15Updated to fedora-glibc-20051115T0809Jakub Jelinek
2005-10-20Updated to fedora-glibc-20051020T0651Jakub Jelinek
2005-10-10Updated to fedora-glibc-20051010T1417Jakub Jelinek
2005-10-03Updated to fedora-glibc-20051003T2040Jakub Jelinek
2005-09-12 * malloc.c (struct malloc_chunk): Fix comment typo.Jakub Jelinek
(public_cALLOc): For mmapped chunks and perturb_byte != 0, don't clear SIZE_SZ bytes more than should be cleared.
2005-08-22Updated to fedora-glibc-20050822T0727Jakub Jelinek
2005-07-21Updated to fedora-glibc-20050721T0814Jakub Jelinek
2005-04-27Updated to fedora-glibc-20050427T1043Jakub Jelinek
2005-03-24Updated to fedora-glibc-20050324T0715cvs/fedora-glibc-2_3_4-17Jakub Jelinek
2005-03-19Updated to fedora-glibc-20050319T1907cvs/fedora-glibc-2_3_4-15Jakub Jelinek
2005-03-03Updated to fedora-glibc-20050302T1820Jakub Jelinek
2005-02-08Updated to fedora-glibc-20050208T0948cvs/fedora-glibc-2_3_4-6Jakub Jelinek
2004-12-15Updated to fedora-glibc-20041215T2056Jakub Jelinek
2004-12-15Updated to fedora-glibc-20041215T0847Jakub Jelinek
2004-12-13Updated to fedora-glibc-20041213T2323cvs/fedora-glibc-2_3_3-91Jakub Jelinek
2004-12-10Updated to fedora-glibc-20041210T0634Jakub Jelinek
2004-11-20Updated to fedora-glibc-20041120T0949Jakub Jelinek
2004-11-19chunksize(x) => x->sizeJakub Jelinek
2004-11-19Another version of the free checks.Jakub Jelinek
2004-11-16MINSIZE => 2 * SIZE_SZJakub Jelinek
2004-11-15 * malloc/malloc.c (_int_free): Further free () protection checks.Jakub Jelinek
2004-11-15Updated to fedora-glibc-20041115T0915Jakub Jelinek
2004-11-02Updated to fedora-glibc-20041102T1153Jakub Jelinek
2004-10-18Updated to fedora-glibc-20041018T0940cvs/fedora-glibc-2_3_3-70Jakub Jelinek
2004-10-18 * malloc/arena.c (ptmalloc_init): Don't use brk if dlopenedcvs/fedora-glibc-2_3_3-69Jakub Jelinek
from statically linked program and avoid calling _dl_addr in that case.
2004-10-14Updated to fedora-glibc-20041014T0548Jakub Jelinek
2004-10-12Updated to fedora-glibc-20041012T1128cvs/fedora-glibc-2_3_3-67Jakub Jelinek
2004-10-05Updated to fedora-glibc-20041005T0745Jakub Jelinek
2004-10-04Updated to fedora-glibc-20041004T0747cvs/fedora-glibc-2_3_3-64Jakub Jelinek
2004-09-29Updated to fedora-glibc-20040929T0821Jakub Jelinek
2004-09-25Updated to fedora-glibc-20040925T0738Jakub Jelinek
2004-09-14Update.Ulrich Drepper
2004-09-13 Ulrich Drepper <drepper@redhat.com> * misc/sys/cdefs.h: Restore old definition of __P. * csu/munch.awk: Remove uses of __P and __PMT. * gmon/gmon.c: Likewise. * hesiod/hesiod.h: Likewise. * include/stdio.h: Likewise. * io/fts.c: Likewise. * libio/genops.c: Likewise. * libio/libioP.h: Likewise. * libio/fileops.c: Likewise. * libio/iolibio.h: Likewise. * libio/libio.h: Likewise. * libio/memstream.c: Likewise. * libio/oldfileops.c: Likewise. * libio/oldstdfiles.c: Likewise. * libio/iopopen.c: Likewise. * libio/vsnprintf.c: Likewise. * libio/vswprintf.c: Likewise. * libio/wgenops.c: Likewise. * libio/oldiopopen.c: Likewise. * locale/programs/xmalloc.c: Likewise. * locale/programs/xstrdup.c: Likewise. * malloc/mtrace.c: Likewise. * misc/getttyent.c: Likewise. * misc/getusershell.c: Likewise. * nis/rpcsvc/ypupd.h: Likewise. * posix/fnmatch.h: Likewise. * posix/glob.h: Likewise. * resolv/arpa/nameser.h: Likewise. * resolv/gethnamaddr.c: Likewise. * resolv/resolv.h: Likewise. * resolv/inet_net_ntop.c: Likewise. * resolv/inet_net_pton.c: Likewise. * resolv/res_init.c: Likewise. * resolv/nss_dns/dns-network.c: Likewise. * stdio-common/vfprintf.c: Likewise. * stdio-common/reg-printf.c: Likewise. * sysdeps/generic/chflags.c: Likewise. * sysdeps/generic/fchflags.c: Likewise. * sysdeps/generic/glob.c: Likewise. * sysdeps/generic/printf_fphex.c: Likewise. * sysdeps/generic/memcmp.c: Likewise. * sysdeps/generic/memcopy.h: Likewise. * sysdeps/generic/morecore.c: Likewise. * sysdeps/generic/sstk.c: Likewise. * sysdeps/posix/sigvec.c: Likewise. * sysdeps/posix/ttyname_r.c: Likewise. * sysdeps/standalone/arm/bits/errno.h: Likewise. * sysdeps/standalone/standalone.h: Likewise. * sysdeps/standalone/i386/force_cpu386/brdinit.c: Likewise. * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise. * sysdeps/unix/arm/start.c: Likewise. * sysdeps/unix/bsd/sigaction.c: Likewise. * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise. * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise. * sysdeps/unix/bsd/sun/sunos4/wait4.c: Likewise. * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Likewise. * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise. * sysdeps/unix/sparc/start.c: Likewise. * sysdeps/unix/sysv/getdents.c: Likewise. * sysdeps/unix/sysv/irix4/fpathconf.c: Likewise. * sysdeps/unix/sysv/irix4/getgroups.c: Likewise. * sysdeps/unix/sysv/irix4/getpriority.c: Likewise. * sysdeps/unix/sysv/irix4/getrusage.c: Likewise. * sysdeps/unix/sysv/irix4/pathconf.c: Likewise. * sysdeps/unix/sysv/irix4/setgroups.c: Likewise. * sysdeps/unix/sysv/irix4/sigtramp.c: Likewise. * sysdeps/unix/sysv/irix4/start.c: Likewise. * sysdeps/unix/sysv/irix4/sysconf.c: Likewise. * sysdeps/unix/sysv/sco3.2.4/__setpgid.c: Likewise. * sysdeps/unix/sysv/sco3.2.4/getgroups.c: Likewise. * sysdeps/unix/sysv/sysv4/__getpgid.c: Likewise. * sysdeps/unix/sysv/sysv4/__setpgid.c: Likewise. * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise. * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise. * sysdeps/unix/sysv/sysv4/sethostname.c: Likewise. * sysdeps/unix/sysv/sysv4/setsid.c: Likewise. * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise. * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise. * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: Likewise. * time/tzset.c: Likewise. * time/strftime_l.c: Likewise. * time/strptime_l.c: Likewise. * crypt/md5.h: Likewise.
2004-09-10nt_free): Only do arena boundary check for contiguous arenas.Ulrich Drepper
2004-09-09Update.Ulrich Drepper
2004-09-09 Ulrich Drepper <drepper@redhat.com> * malloc/hooks.c (top_check): Print top chunk corruption as normal error message. * malloc/malloc.c (malloc_printerr): Don't make informational message look like error message.
2004-09-09Update.Ulrich Drepper
* malloc/malloc.c (_int_free): Add inexpensive double free and memory corruption tests. (malloc_printf_nc): Renamed to malloc_printerr. Second parameter is no format string anymore. Don't use stdio. Adjust all callers. * malloc/hooks.c: Adjust malloc_printf_nc callers.
2004-09-09(_int_free): Add inexpensive double free and memory corruption tests. ↵Ulrich Drepper
(malloc_printf_nc): Renamed to malloc_printerr. Second parameter is no format string anymore. Don't use stdio. Adjust all callers.
2004-09-09Update.Ulrich Drepper
2004-09-08 Ulrich Drepper <drepper@redhat.com> * malloc/malloc.c (_int_free): Add inexpensive double free test.
2004-09-082004-09-08 Roland McGrath <roland@redhat.com>Roland McGrath
* malloc/mcheck.c: Don't use __P. Use prototypes definitions for static functions.
2004-09-08Update.Ulrich Drepper
2004-09-08 Ulrich Drepper <drepper@redhat.com> * malloc/arena.c: Remove __MALLOC_P uses. * malloc/malloc.c: Likewise. * malloc/mtrace.c: Remove __P uses. * malloc/mcheck-init.c: Likewise.
2004-09-08Update.Ulrich Drepper
* malloc/malloc.h: Don't define __THROW if it is already defined.
2004-08-21Update.Ulrich Drepper
* malloc/hooks.c (DEFAULT_CHECK_ACTION): Moved to malloc.c. (check_action): Likewise. When printing error messages, use malloc_printf_nc now instead of fiddling with the streams cancellation flag in every place. * malloc/malloc.c (DEFAULT_CHECK_ACTION): New definition. Change default to 3. (check_action): New variable. (unlink): Print error message and eventually terminate in case list is corrupted. (malloc_printf_nc): New function. Use it in _int_free. Change proposed by Arjan van de Ven.
2004-08-13Update.Ulrich Drepper
2004-08-13 Ulrich Drepper <drepper@redhat.com> * elf/sprof.c (read_symbols): When comparing aliases, prefer strong over weak symbols if both don't start with '_'. * malloc/malloc.c: Use strong_alias instead of weak_alias wherever possible.