Re: [PATCH v3 2/3] hw/smbios: report error if table size is too large

2020-09-24 Thread Laszlo Ersek
On 09/23/20 15:38, Daniel P. Berrangé wrote: > The SMBIOS 2.1 entry point uses a uint16 data type for reporting the > total length of the tables. If the user passes -smbios configuration to > QEMU that causes the table size to exceed this limit then various bad > behaviours result, including > >

[PATCH v3 2/3] hw/smbios: report error if table size is too large

2020-09-23 Thread Daniel P . Berrangé
The SMBIOS 2.1 entry point uses a uint16 data type for reporting the total length of the tables. If the user passes -smbios configuration to QEMU that causes the table size to exceed this limit then various bad behaviours result, including - firmware hangs in an infinite loop - firmware triggers