diff options
| author | Dov Murik | 2022-02-22 08:19:06 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2022-03-06 11:08:23 +0100 |
| commit | 9919423516ddf0519df965184e236ba74fa236b1 (patch) | |
| tree | 74f9054c343629206cdf01faad8820ca1a3a2258 /include | |
| parent | hw/i386: Improve bounds checking in OVMF table parsing (diff) | |
| download | qemu-9919423516ddf0519df965184e236ba74fa236b1.tar.gz qemu-9919423516ddf0519df965184e236ba74fa236b1.tar.xz qemu-9919423516ddf0519df965184e236ba74fa236b1.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>
Message-Id: <20220222071906.2632426-3-dovmurik@linux.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
