bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: init.sh: enable MALLOC_PERTURB_


From: Jim Meyering
Subject: Re: init.sh: enable MALLOC_PERTURB_
Date: Mon, 10 May 2010 17:21:48 +0200

Peter O'Gorman wrote:
> 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}

Pfaw ;-)
Yes.  Thanks.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]