mirror of
https://github.com/qemu/qemu.git
synced 2025-10-28 15:40:16 +00:00
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 | ||