* fix memory allocator bug that lead to freelist corruption on the first malloc
authorStefan Reinauer <stepan@coresystems.de>
Thu, 14 Aug 2008 14:40:10 +0000 (14:40 +0000)
committerStefan Reinauer <stepan@openbios.org>
Thu, 14 Aug 2008 14:40:10 +0000 (14:40 +0000)
commitee673194b45efda3e21507d57ef11ba190e9a502
treef81e47224a9dec3a8bd72d36303d30bed73fd1b0
parent8e65adb67d9d85e920554af7b083b3d76b885688
* fix memory allocator bug that lead to freelist corruption on the first malloc
  (and spent 8 bytes too much per malloc)
* if the memory allocator detects freelist corruption, print a message
  instead of silently dying.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3510 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
payloads/libpayload/libc/malloc.c