
15 Nov
2010
15 Nov
'10
11:06 p.m.
Dear Kumar Gala,
In message 1289854274-7006-1-git-send-email-galak@kernel.crashing.org you wrote:
Since we set #define MORECORE_CLEARS 1, the code assumes 'sbrk' always returns zero'd out memory. However since its possible that free() returns memory ack to sbrk() via malloc_trim we could possible get non-zero'd memory from sbrk() if it allocates back memory that was previously freed to it.
I confirm that the test case works fine here, too. So:
Tested-by: Wolfgang Denk wd@denx.de
But the commit message needs serious rework before this can get applied.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
If ignorance is bliss, why aren't there more happy people?