summaryrefslogtreecommitdiff
path: root/UnitTestFrameworkPkg/Library/UnitTestPersistenceLibSimpleFileSystem/UnitTestPersistenceLibSimpleFileSystem.c
diff options
context:
space:
mode:
authorAmrathesh <amrathesh@arm.com>2026-09-18 08:39:16 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-09-23 15:23:44 +0300
commit4341569230f770736de7eafe70ec37ec491bd8e7 (patch)
tree2b8e0ae1885ba63e79bc7121fabc38f810d52c40 /UnitTestFrameworkPkg/Library/UnitTestPersistenceLibSimpleFileSystem/UnitTestPersistenceLibSimpleFileSystem.c
parentb59c1a498150e7308597b61a19545353dcdeffe9 (diff)
downloadedk2-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