summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Workspace/MetaFileParser.py
diff options
context:
space:
mode:
authorOliver Smith-Denny <osde@microsoft.com>2026-06-13 00:53:05 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-06-13 12:06:33 +0300
commit6eca4a4a95942e9d7eb1809524e4116fb3ac1cd3 (patch)
tree2595927eb7d08d8227e8fbcf8faaff44c87b466b /BaseTools/Source/Python/Workspace/MetaFileParser.py
parente63bba000a464fe35fb215e99bc4dcf01ebeabd6 (diff)
downloadedk2-6eca4a4a95942e9d7eb1809524e4116fb3ac1cd3.tar.xz
EmbeddedPkg: PrePiLib: Zero Volume Info Buffer Before Writing
FfsGetVolumeInfo() in PrePiLib does not zero the VolumeInfo buffer before writing to it. However, it has some fields that are expected to be zero if certain conditions are not met. For example, the FvName is expected to be all 0's if the extended header is not present in the FV. Currently, the FvName field will point to garbage if the caller does not zero the buffer first. Flip the expectation and have FfsGetVolumeInfo() zero the buffer before it writes to it. Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/MetaFileParser.py')
0 files changed, 0 insertions, 0 deletions