[LinuxBIOS] [PATCH] use strncmp in lar

Uwe Hermann uwe at hermann-uwe.de
Sat Sep 8 21:37:09 CEST 2007

On Thu, Sep 06, 2007 at 02:50:55AM +0200, Alex Beregszaszi wrote:
> 1, simple strncmp implementation in include/string.h
> 2, changes lib/lar.c to use strncmp for magic check. Current code
> depends on that the len field will never hold a value bigger than
> 0xffffff, which is a working assumption given current flash sizes, but
> my next patch might affect this.

Looks good. Committed in r496 with some minor modifications.

http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20070908/5cf895b0/attachment.sig>

More information about the coreboot mailing list