[coreboot] [PATCH] more intelligent cbfs walker

Patrick Georgi patrick at georgi-clan.de
Sat Apr 25 16:23:44 CEST 2009


Am 25.04.2009 15:22, schrieb Myles Watson:
> I can see your point, but CBFS design assumes that CBFS magic is sufficient.
>    
So if seabios was in the image, then deleted, and a smaller payload is 
added, and the first surviving bytes of the old seabios image are part 
of its cbfs walker (which includes the magic)?
> We know how large the file system is, and any entry inside it was created by
> a CBFS tool.  If we really want to be paranoid, you need to check that
> offset>  oldoffset so that you don't get a negative foffset.
>    
True.


Patrick




More information about the coreboot mailing list