The file walking code was incorrectly using the uncompressed file size when searching for the next file.
Signed-off-by: Kevin O'Connor <ke...@koconnor.net> --- src/coreboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreboot.c b/src/coreboot.c index 7f7b322..983a2b5 100644 --- a/src/coreboot.c +++ b/src/coreboot.c @@ -407,7 +407,7 @@ coreboot_cbfs_init(void) } romfile_add(&cfile->file); - fhdr = (void*)ALIGN((u32)cfile->data + cfile->file.size + fhdr = (void*)ALIGN((u32)cfile->data + cfile->rawsize , be32_to_cpu(hdr->align)); } } -- 1.7.11.7 _______________________________________________ SeaBIOS mailing list SeaBIOS@seabios.org http://www.seabios.org/mailman/listinfo/seabios