On 05/13/21 17:26, Lendacky, Thomas wrote: > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3373 > > An update to expand the mExceptionNameStr array failed to add a comma > after original last entry, therefore causing the #CP name to have extra > incorrect characters and the remaining entries to be indexed incorrectly > (off by 1). > > Add a comma after the "#CP" entry to resolve this issue. > > Fixes: 5277540e37e88a1a69f9517c4ad895051b4b3ed3 > Cc: Allen Wynn <allen_w...@dell.com> > Cc: Eric Dong <eric.d...@intel.com> > Cc: Ray Ni <ray...@intel.com> > Cc: Laszlo Ersek <ler...@redhat.com> > Cc: Rahul Kumar <rahul1.ku...@intel.com> > Signed-off-by: Tom Lendacky <thomas.lenda...@amd.com> > --- > UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c > b/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c > index c9003b10e552..49d0041e2ff3 100644 > --- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c > +++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c > @@ -44,7 +44,7 @@ CONST CHAR8 *mExceptionNameStr[] = { > "#MC - Machine-Check", > "#XM - SIMD floating-point", > "#VE - Virtualization", > - "#CP - Control Protection" > + "#CP - Control Protection", > "Reserved", > "Reserved", > "Reserved", >
Reviewed-by: Laszlo Ersek <ler...@redhat.com> -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#75114): https://edk2.groups.io/g/devel/message/75114 Mute This Topic: https://groups.io/mt/82801916/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-