From 997a416551a7d5ceb91978674cb8c70b443329d0 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 28 Aug 1998 09:29:49 +0000 Subject: Update. 1998-08-28 09:22 Ulrich Drepper * elf/rtld.c (process_envvars): Fix copy&paste error. * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and memalign hook. (realloc_hook_ini): Don't overwrite memalign hook. (memalign_hook_ini): Don't overwrite malloc and memalign hooks. Reported by Philippe Troin . * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer. Patch by Philippe Troin . 1998-08-26 Andreas Schwab * sysdeps/generic/segfault.c (install_handler): Protect the non-POSIX signals with #ifdef. (catch_segfault): Add missing mode parameter for open. * debug/catchsegv.sh: Avoid termination message from shell. Allow other termination signals. 1998-08-27 Andreas Schwab * debug/Makefile (distribute): Add register-dump.h. 1998-08-28 10:41 Andreas Schwab --- malloc/mcheck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'malloc/mcheck.c') diff --git a/malloc/mcheck.c b/malloc/mcheck.c index 4547a31299..c5baa3d4a7 100644 --- a/malloc/mcheck.c +++ b/malloc/mcheck.c @@ -246,5 +246,5 @@ mcheck (func) enum mcheck_status mprobe (__ptr_t ptr) { - return mcheck_used ? checkhdr (ptr) : MCHECK_DISABLED; + return mcheck_used ? checkhdr (((struct hdr *) ptr) - 1) : MCHECK_DISABLED; } -- cgit v1.2.3