Re: [edk2-devel] [edk2-platforms] [PATCH V1 1/2] MinPlatformPkg: Add missing bounds checks to CompressLib

2020-10-01 Thread Chiu, Chasel
Reviewed-by: Chasel Chiu > -Original Message- > From: Nate DeSimone > Sent: Wednesday, September 30, 2020 8:15 AM > To: devel@edk2.groups.io > Cc: Chiu, Chasel ; Liming Gao > ; Dong, Eric > Subject: [edk2-platforms] [PATCH V1 1/2] MinPlatformPkg: Add missing bounds > checks to

[edk2-devel] [edk2-platforms] [PATCH V1 1/2] MinPlatformPkg: Add missing bounds checks to CompressLib

2020-09-29 Thread Nate DeSimone
Current code only as bounds checks in ASSERT macros. They are also needed in release mode where ASSERT is not used. Signed-off-by: Nate DeSimone Cc: Chasel Chiu Cc: Nate DeSimone Cc: Liming Gao Cc: Eric Dong --- .../MinPlatformPkg/Library/CompressLib/CompressLib.c | 10 -- 1 file