diff options
| author | Amrathesh <amrathesh@arm.com> | 2026-09-18 08:39:16 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-09-23 15:23:44 +0300 |
| commit | 4341569230f770736de7eafe70ec37ec491bd8e7 (patch) | |
| tree | 2b8e0ae1885ba63e79bc7121fabc38f810d52c40 /UnitTestFrameworkPkg/Library/UnitTestPersistenceLibSimpleFileSystem/UnitTestPersistenceLibSimpleFileSystem.c | |
| parent | b59c1a498150e7308597b61a19545353dcdeffe9 (diff) | |
| download | edk2-4341569230f770736de7eafe70ec37ec491bd8e7.tar.xz | |
DynamicTablesPkg/AmlLib: Fix serialization buffer size handling
AmlSerializeTree uses a reversed buffer size comparison. As a result, it
returns success without serializing when the buffer is larger than needed
and attempts serialization when the buffer is too small.
Return EFI_BUFFER_TOO_SMALL when Buffer is NULL or the supplied buffer is
too small, and always report the required size. Update
AmlSerializeDefinitionBlock to handle the expected size query status.
Signed-off-by: Amrathesh <amrathesh@arm.com>
Diffstat (limited to 'UnitTestFrameworkPkg/Library/UnitTestPersistenceLibSimpleFileSystem/UnitTestPersistenceLibSimpleFileSystem.c')
0 files changed, 0 insertions, 0 deletions
