From: Kevin O'Connor Date: Thu, 16 Feb 2012 01:13:05 +0000 (-0500) Subject: Fix missing NULL pointer checks causing boot failure on 1meg machines. X-Git-Tag: rel-1.6.3.2~2 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=982c6f9bac307e47e613d3174f2db52cc3185574;p=seabios.git Fix missing NULL pointer checks causing boot failure on 1meg machines. Signed-off-by: Kevin O'Connor --- diff --git a/src/pmm.c b/src/pmm.c index 82a0b1d..c649fd8 100644 --- a/src/pmm.c +++ b/src/pmm.c @@ -214,7 +214,8 @@ malloc_fixupreloc(void) int i; for (i=0; iinfo->pprev = &zone->info; + if (zone->info) + zone->info->pprev = &zone->info; } // Add space free'd during relocation in f-segment to ZoneFSeg