This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/malloc malloc.c
- From: drepper at sourceware dot org
- To: glibc-cvs at sources dot redhat dot com
- Date: 8 Mar 2005 00:48:06 -0000
- Subject: libc/malloc malloc.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sources.redhat.com 2005-03-08 00:48:05
Modified files:
malloc : malloc.c
Log message:
(perturb_byte): New variable.
(alloc_perturb, free_perturb): New macros.
(_int_malloc): Before returning, overwrite the memory if this is requested.
(_int_free): Overwrite freed memory if requested.
(mALLOPt): Handle M_PERTURB.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/malloc/malloc.c.diff?cvsroot=glibc&r1=1.144&r2=1.145