coreboot-kgpe-d16/payloads
Jordan Crouse 24a0404759 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>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3269 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2008-04-25 23:08:47 +00:00
..
coreinfo Add support for a 'bootlog' module to coreinfo. 2008-04-22 20:19:53 +00:00
external/tint Add the patch for building tint as payload, as well as a small README, 2008-04-15 16:47:20 +00:00
libpayload libpayload: Fix malloc allocation 2008-04-25 23:08:47 +00:00