/[Development]
ViewVC logotype

Revision 3269


Jump to revision: Previous Next
Author: jcrouse
Date: Fri Apr 25 23:08:47 2008 UTC (5 years ago)
Changed paths: 1
Log Message:
libpayload:  Fix malloc allocation

Apparently the previous version worked on luck.  Fix the allocation
and add parens to better guide the compiler.  Also, halt() if 
the heap is poisoned (like by an overrun).  Finally, fix calloc()
so that it actually works.

Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Peter Stuge <peter@stuge.se>



Changed paths

Path Details
Directorytrunk/payloads/libpayload/libc/malloc.c modified , text changed

Stefan Reinauer">Stefan Reinauer
ViewVC Help
Powered by ViewVC 1.1.15