mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
UefiCpuPkg/CpuExceptionHandlerLib: Increase mBuffer size
Add missing GDT alignment into mBuffer to prevent possible memory corruption on ALIGN_POINTER operation on NewGdtTable in ArchExceptionHandler Signed-off-by: Savva Mitrofanov <savvamtr@gmail.com>
This commit is contained in:
parent
1f14fe27a5
commit
26f032adb2
@ -24,7 +24,7 @@ EXCEPTION_HANDLER_DATA mExceptionHandlerData = {
|
||||
};
|
||||
|
||||
UINT8 mBuffer[CPU_STACK_SWITCH_EXCEPTION_NUMBER * CPU_KNOWN_GOOD_STACK_SIZE
|
||||
+ CPU_TSS_GDT_SIZE];
|
||||
+ sizeof (IA32_TSS_DESCRIPTOR) + CPU_TSS_GDT_SIZE];
|
||||
|
||||
/**
|
||||
Common exception handler.
|
||||
|
Loading…
x
Reference in New Issue
Block a user