REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3283
This change is validated on two different physical platforms.
v2 mainly focus on feedback for v1 patche, including:
a. Adding "Reviewed-by" tags;
b. Updated return code description for modified function;
Patch v2 branch: https://github.com
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3283
This change added buffer width check before copying IO information into
incoming buffer. This bug could potentially corrupt memory due to out of
buffer boundary memory access.
Patch v1 branch: https://github.com/kuqin12/edk2/tree/svst_width