[U-Boot] bug in malloc/calloc and setting of MORECORE_CLEARS
Kumar Gala
galak at kernel.crashing.org
Mon Nov 15 21:45:09 CET 2010
On Nov 15, 2010, at 2:39 PM, Wolfgang Denk wrote:
> Dear Kumar Gala,
>
> In message <9D70A5EF-48AD-4D65-85D6-B81CE0A0D2A9 at kernel.crashing.org> you wrote:
>>
>> Here's an example test case that fails if execute right after:
>
> I confirm that the test case shows errors for me, too (tested on
> TQM8555). I also confirm that switching MORECORE_CLEARS to 0 fixes the
> problem in this test.
>
> Are you going to submit a patch?
Yes, but going to try a different solution in which we memset and sbrk calls that have a negative increment (free).
- k
More information about the U-Boot
mailing list