diff options
| author | Abhishek Mainkar <abmainkar@nvidia.com> | 2026-08-21 03:02:35 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-10-16 19:41:20 +0300 |
| commit | a7d87a3a1b19e504d9ffbb967a765e0c081b79f2 (patch) | |
| tree | 19ed19fd3463bda0db44a65b6b95c0b1c59585fc /UnitTestFrameworkPkg/Library/UnitTestPersistenceLibSimpleFileSystem | |
| parent | fed73e9fa16964fa1ef89b9d68c105fd812d26d7 (diff) | |
| download | edk2-a7d87a3a1b19e504d9ffbb967a765e0c081b79f2.tar.xz | |
NetworkPkg/Ip4Dxe: validate IP4 config NVRAM record bounds
Check that DataRecordCount fits in the variable and that each record's
payload lies after the DataRecord array and inside the variable before
use. Reject records for volatile data types, and fixed-size records
with an unexpected DataSize, since Ip4Config2WriteConfigData() never
writes either. Apply records only after the whole blob validates so a
later failure cannot persist a partial config.
Signed-off-by: Abhishek Mainkar <abmainkar@nvidia.com>
Diffstat (limited to 'UnitTestFrameworkPkg/Library/UnitTestPersistenceLibSimpleFileSystem')
0 files changed, 0 insertions, 0 deletions
