Re: [edk2-devel] [PATCH] MdeModulePkg/Application: Overflowed Array Index

2020-02-21 Thread Laszlo Ersek
On 02/20/20 08:01, GuoMinJ wrote: > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2272 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2289 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2290 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2287 > REF: https://bugzilla.tiano

[edk2-devel] [PATCH] MdeModulePkg/Application: Overflowed Array Index

2020-02-19 Thread GuoMinJ
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2272 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2289 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2290 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2287 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2288 Index should

[edk2-devel] [PATCH] MdeModulePkg/Application: Overflowed Array Index

2020-02-19 Thread GuoMinJ
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2272 Index should be off-by one than size of array, so when check mUsbTypeString, the max index should less than size of array. Signed-off-by: GuoMinJ --- .../Application/SmiHandlerProfileInfo/SmiHandlerProfileInfo.c | 2 +- 1 file changed,