[edk2-devel] [PATCH v1 0/1] Add buffer size check before save state read

2021-04-06 Thread Kun Qin
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

[edk2-devel] [PATCH v1 0/1] Add buffer size check before save state read

2021-03-26 Thread Kun Qin
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