Files
qemu/hw/smbios
Paolo Bonzini b5dc3bd84f smbios: sanitize type from external type before checking have_fields_bitmap (bsc#1211697)
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>
(cherry picked from commit 57e3069641)
Resolves: bsc#1211697
Signed-off-by: Dario Faggioli <dfaggioli@suse.com>
2023-06-01 15:46:50 +02:00
..
2019-03-07 21:45:53 +01:00
2020-08-21 06:30:25 -04:00