Re: [edk2] [PATCH 1/2] PcAtChipsetPkg/PcRtc: Fix a stack corruption issue

2016-07-26 Thread Dong, Eric
Reviewed-by: Eric Dong > -Original Message- > From: Ni, Ruiyu > Sent: Tuesday, July 26, 2016 9:12 PM > To: edk2-devel@lists.01.org > Cc: Dong, Eric > Subject: [PATCH 1/2] PcAtChipsetPkg/PcRtc: Fix a stack corruption issue > > In 32bit environment, ScanTableInSDT() incorrectly copies 8 by

[edk2] [PATCH 1/2] PcAtChipsetPkg/PcRtc: Fix a stack corruption issue

2016-07-26 Thread Ruiyu Ni
In 32bit environment, ScanTableInSDT() incorrectly copies 8 bytes of data to 4-byte pointer Table, which causes the stack corruption. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni Cc: Eric Dong --- PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c | 2 +- 1 fi