[coreboot] Coreboot bug?

Peter Stuge peter at stuge.se
Thu Nov 12 00:37:45 CET 2009


ron minnich wrote:
> >>> -             memcpy(rec_dest,  rec_src, rec_src->size);
> >>> +             memcpy(rec_dest,  &option_table, sizeof(option_table));
> 
> completely changes the behavior of the code and is wrong.
> 
> I'm willing to be convinced. But sizeof(option_table) is 8

How can that be?

option_table is the long unsigned char [] = { ... } in the source.


//Peter




More information about the coreboot mailing list