summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c
diff options
context:
space:
mode:
authorMike Beaton <mjsbeaton@gmail.com>2025-11-25 00:13:02 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-11-28 14:35:20 +0300
commit68d8f3a3d2c78ee301f73d484f04e1f00926846b (patch)
tree8ed5e4ec62919b065cefbdfc2747551b4b27bf5b /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c
parent04972ca2cf5e70a9f443a55353276fcc3a0e957c (diff)
downloadedk2-68d8f3a3d2c78ee301f73d484f04e1f00926846b.tar.xz
ArmPkg: Add additional ASSERT in MiscChassisManufacturerFunction
In this revised version of the code, we start with a pointer immediately past the end of the parts of the struct specified in the input data, and hopefully end up with a pointer at the end of the entire SMBIOS struct (version dependent part(s) and all), plus appended strings. If we switch to doing this fully incrementally - always updating where we are by adding to the previous pointer - then it seems worth adding an ASSERT to confirm that we got to the end correctly. The other change applied here in addition to the ASSERT is in order to make each next pointer be calculated strictly by adding the intended size to the immediately previous one, as all the other pointer changes already were. Signed-off-by: Mike Beaton <mjsbeaton@gmail.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c')
0 files changed, 0 insertions, 0 deletions