aboutsummaryrefslogtreecommitdiffstats
path: root/vgasrc
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2020-09-08 16:16:53 +0100
committerDaniel P. Berrangé <berrange@redhat.com>2020-09-08 16:16:53 +0100
commit4ea6aa9471f79cc81f957d6c0e2bb238d24675e5 (patch)
tree302b1c0dccbc12b52fcadc48643956ce560779d0 /vgasrc
parent155821a1990b6de78dde5f98fa5ab90e802021e0 (diff)
downloadseabios-4ea6aa9471f79cc81f957d6c0e2bb238d24675e5.tar.gz
smbios: avoid integer overflow when adding SMBIOS type 0 table
SeaBIOS implements the SMBIOS 2.1 entry point which is limited to a maximum length of 0xffff. If the SMBIOS data received from QEMU is large enough, then adding the type 0 table will cause integer overflow. This results in fun behaviour such as KVM crash, or hangs in SeaBIOS. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'vgasrc')
0 files changed, 0 insertions, 0 deletions