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 <[email protected]>
Cc: Chasel Chiu <[email protected]>
Cc: Nate DeSimone <[email protected]>
Cc: Liming Gao <[email protected]>
Cc: Eric Dong <[email protected]>

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/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to