[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 0/2] hw/i386: OVMF table parsing fixes
|
From: |
Dov Murik |
|
Subject: |
[PATCH v3 0/2] hw/i386: OVMF table parsing fixes |
|
Date: |
Tue, 22 Feb 2022 07:19:04 +0000 |
Fix missing bounds check when parsing the OVMF table.
This already had two iterations as a single patch; I decided to split it
to two patches. The first deals only with bounds checking, and the
second is a non-functional change to clear the code according to
reviewers' suggestions.
v3:
- simplify bounds check and remove max_tot_len (thanks Dave)
- split one patch to two
v2:
- add error message example to commit description
- replace magic numbers 48 and 50 with size calculations (thanks Phil
MD)
Dov Murik (2):
hw/i386: Improve bounds checking in OVMF table parsing
hw/i386: Replace magic number with field length calculation
hw/i386/pc_sysfw_ovmf.c | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
base-commit: 477c3b934a47adf7de285863f59d6e4503dd1a6d
--
2.25.1
- [PATCH v3 0/2] hw/i386: OVMF table parsing fixes,
Dov Murik <=