tianocore / edk2

EDK II
https://github.com/tianocore/tianocore.github.io/wiki/EDK-II
Other
4.38k stars 2.4k forks source link

StandaloneMmPkg: Fix section data length returned larger than actual size #5848

Closed makubacki closed 3 days ago

makubacki commented 6 days ago

Description

Fixes an issue where the returned section data length is always 4 bytes larger than the actual section length. This could cause an issue where the caller accesses the final 4 bytes which would be invalid.

Marked as a breaking change due to modifying the behavior for the library API.

How This Was Tested

Integration Instructions