Current code only has bounds checks in ASSERT macros.
They are also needed in release mode where ASSERT is not used.
Also adds coding style cleanups in CompressLib
Signed-off-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Chasel Chiu <chasel.chiu@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Eric Dong <eric.dong@intel.com>
Nate DeSimone (2):
MinPlatformPkg: Add missing bounds checks to CompressLib
MinPlatformPkg: Coding style cleanups in CompressLib
.../Library/CompressLib/CompressLib.c | 187 ++++++++++--------
.../Library/CompressLib/CompressLib.inf | 4 +-
2 files changed, 103 insertions(+), 88 deletions(-)
--
2.27.0.windows.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#65735): https://edk2.groups.io/g/devel/message/65735
Mute This Topic: https://groups.io/mt/77208966/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-