Prevents potential math over and underflows when comparing buffers
for SMM validity.
Original patch uploaded to bugzilla by Bret Barkelew .
I've adapted the patch to latest master, uncristified, dropped MU
comments.
Ref: CVE-2021-38578
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3387
Sign
teffen
> ; Gerd Hoffmann
> 主题: [edk2-devel] [RESEND PATCH 1/1] MdeModulePkg: Fix PiSmmCore
> integer over- and underflows.
>
> Prevents potential math over and underflows when comparing buffers
> for SMM validity.
>
> Original patch uploaded to bugzilla by Bret Bark