[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: init.sh: enable MALLOC_PERTURB_
From: |
Peter O'Gorman |
Subject: |
Re: init.sh: enable MALLOC_PERTURB_ |
Date: |
Mon, 10 May 2010 10:18:42 -0500 |
User-agent: |
Mutt/1.5.19 (2009-01-05) |
On Sun, May 09, 2010 at 10:47:07PM +0200, Jim Meyering wrote:
> +# Enable glibc's malloc-perturbing option.
> +# This is cheap and useful for exposing code that depends on the fact that
> +# malloc-related functions often return memory that is mostly zeroed.
> +# If you have the time and cycles, use valgrind to do an even better job.
> +${MALLOC_PERTURB_=87}
> +export MALLOC_PERTURB_
PASS: test-verify
87: not found
PASS: test-verify.sh
Maybe you want:
: ${MALLOC_PRETURB_=87}
Peter
--
Peter O'Gorman
address@hidden