summaryrefslogtreecommitdiffstats
path: root/ui/console.c
diff options
context:
space:
mode:
authorDov Murik2022-02-22 08:19:06 +0100
committerGerd Hoffmann2022-03-04 11:24:52 +0100
commitbfc8c14459dae16b525cd024600d20f022b6ee55 (patch)
treebdb3e076a17b2d59a3901cb966b503672cdcca36 /ui/console.c
parenthw/i386: Improve bounds checking in OVMF table parsing (diff)
downloadqemu-bfc8c14459dae16b525cd024600d20f022b6ee55.tar.gz
qemu-bfc8c14459dae16b525cd024600d20f022b6ee55.tar.xz
qemu-bfc8c14459dae16b525cd024600d20f022b6ee55.zip
hw/i386: Replace magic number with field length calculation
Replce the literal magic number 48 with length calculation (32 bytes at the end of the firmware after the table footer + 16 bytes of the OVMF table footer GUID). No functional change intended. Signed-off-by: Dov Murik <dovmurik@linux.ibm.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20220222071906.2632426-3-dovmurik@linux.ibm.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/console.c')
0 files changed, 0 insertions, 0 deletions