Re: [Testcase] Memory returned by malloc not always zeroed.

2007-03-07 Thread Buzz
Op Tue, 6 Mar 2007 22:23:22 -0800 schreef Gary Johnson in 20070307062322.GA21235 AT suncomp1.spk.agilent.com: : On 2007-03-07, Buzz wrote: [...] : This indicates malloc returning non-zeroed memory. : : Has anybody got a clue as to what's going on? : : Malloc() returns a pointer to a block of

[Testcase] Memory returned by malloc not always zeroed.

2007-03-06 Thread Buzz
Hi, On three different cygwin 1.5.24-2 systems, attached testprogram (compile with ``gcc -o mall-test mall-test.c'') returns many lines like: n1 S13 p12 is 0x81, not 0 n1 S14 p0 is 0x8c, not 0 n1 S14 p1 is 0x7f, not 0 n1 S14 p2 is 0x14, not 0 n1 S14 p3 is 0x61, not 0 n1 S14 p4 is 0x8c, not 0 n1

Re: [Testcase] Memory returned by malloc not always zeroed.

2007-03-06 Thread Gary Johnson
On 2007-03-07, Buzz wrote: Hi, On three different cygwin 1.5.24-2 systems, attached testprogram (compile with ``gcc -o mall-test mall-test.c'') returns many lines like: n1 S13 p12 is 0x81, not 0 n1 S14 p0 is 0x8c, not 0 n1 S14 p1 is 0x7f, not 0 n1 S14 p2 is 0x14, not 0 n1 S14 p3 is