Author: oxygene Date: 2009-06-01 22:02:21 +0200 (Mon, 01 Jun 2009) New Revision: 4329
Modified: trunk/coreboot-v2/util/cbfstool/util.c Log: cbfstool reacts to a too large bootblock file by stopping with an error code now. Signed-off-by: Patrick Georgi <[email protected]> Acked-by: Peter Stuge <[email protected]> Modified: trunk/coreboot-v2/util/cbfstool/util.c =================================================================== --- trunk/coreboot-v2/util/cbfstool/util.c 2009-06-01 01:38:29 UTC (rev 4328) +++ trunk/coreboot-v2/util/cbfstool/util.c 2009-06-01 20:02:21 UTC (rev 4329) @@ -222,7 +222,8 @@ rom->header->align = htonl(align); rom->header->offset = htonl(0); - add_bootblock(rom, bootblockname); + if (add_bootblock(rom, bootblockname) == -1) + return -1; /* Write the cbfs master header address at the end of the ROM. */ -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

