[smbios] Fix SMBIOS string fetching
authorMichael Brown <mcb30@etherboot.org>
Wed, 11 Jun 2008 12:43:58 +0000 (13:43 +0100)
committerMichael Brown <mcb30@etherboot.org>
Wed, 11 Jun 2008 12:43:58 +0000 (13:43 +0100)
commit031b30898a098d7bb2d2d14a7639ed060274528a
treeccaca32668d2edc129951221746bd3592f9cdc20
parentc3811d4a1339c29254db1ce04810259448840bcc
[smbios] Fix SMBIOS string fetching

A bug in read_smbios_string() was causing the starting offset of the
SMBIOS structure to be added twice, resulting in completely the wrong
strings being returned.

Bug identified by Martin Herweg <m.herweg@gmx.de>
src/arch/i386/firmware/pcbios/smbios.c