mirror of
https://github.com/qemu/qemu.git
synced 2024-11-28 22:33:36 +08:00
57e3069641
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> |
||
---|---|---|
.. | ||
Kconfig | ||
meson.build | ||
smbios_build.h | ||
smbios_type_38-stub.c | ||
smbios_type_38.c | ||
smbios-stub.c | ||
smbios.c |