coreboot-kgpe-d16/payloads/libpayload/libc
Nico Huber 7a32e88f12 libpayload: Fix memalign() for fragmented alignment regions
Found a bug in the memory allocator ;-)

If the total free space in an alignment region is large enough for an
allocation but fragmented, such that there is no contiguous, sufficient
large, free space in the region, memalign() was looking at the same
region again and again in an endless loop. The advancing to the next
region was just missing.

Change-Id: I3fad833804675ee495577ca2749b007f46b5ff69
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: http://review.coreboot.org/1906
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Tested-by: build bot (Jenkins)
2012-11-23 18:17:08 +01:00
..
Makefile.inc
args.c
console.c
ctype.c
exec.c
getopt_long.c
ipchecksum.c
lar.c
lib.c
malloc.c
memory.c
printf.c
qsort.c
rand.c
readline.c
string.c
strings.c
strlcpy.c
sysinfo.c
time.c