qemu-e2k/hw/smbios
Paolo Bonzini 57e3069641 smbios: sanitize type from external type before checking have_fields_bitmap
test_bit uses header->type as an offset; if the file incorrectly specifies a
type greater than 127, smbios_entry_add will read and write garbage.

To fix this, just pass the smbios data through, assuming the user knows what
to do.  Reported by Coverity as CID 1487255.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-09-18 09:17:40 +02:00
..
Kconfig
meson.build meson: convert hw/smbios 2020-08-21 06:30:25 -04:00
smbios_build.h
smbios_type_38-stub.c
smbios_type_38.c smbios:ipmi: Ignore IPMI devices with no fwinfo function 2019-09-20 14:08:10 -05:00
smbios-stub.c
smbios.c smbios: sanitize type from external type before checking have_fields_bitmap 2022-09-18 09:17:40 +02:00