[edk2-devel] [PATCH] MdeModulePkg/Application: Overflowed Array Index
Laszlo Ersek
lersek at redhat.com
Fri Feb 21 16:24:28 UTC 2020
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.tianocore.org/show_bug.cgi?id=2288
>
> Index should be off-by one than size of array, so when check
> array, the max index should less than size of array.
>
> Signed-off-by: GuoMinJ <newexplorerj at gmail.com>
> ---
> .../SmiHandlerProfileInfo/SmiHandlerProfileInfo.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
Please put "SmiHandlerProfileInfo" somewhere in the subject.
If necessary due to length constraints, drop "Application".
Thanks
Laszlo
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#54716): https://edk2.groups.io/g/devel/message/54716
Mute This Topic: https://groups.io/mt/71423321/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list