Re: [edk2] [PATCH 1/5] ArmPkg/ArmMmuLib AARCH64: fix out of bounds access

2019-01-14 Thread Ard Biesheuvel
On Mon, 14 Jan 2019 at 13:00, Leif Lindholm wrote: > > On Mon, Jan 07, 2019 at 08:15:00AM +0100, Ard Biesheuvel wrote: > > Take care not to dereference BlockEntry if it may be pointing past > > the end of the page table we are manipulating. It is only a read, > > and thus harmless, but HeapGuard t

Re: [edk2] [PATCH 1/5] ArmPkg/ArmMmuLib AARCH64: fix out of bounds access

2019-01-14 Thread Leif Lindholm
On Mon, Jan 07, 2019 at 08:15:00AM +0100, Ard Biesheuvel wrote: > Take care not to dereference BlockEntry if it may be pointing past > the end of the page table we are manipulating. It is only a read, > and thus harmless, but HeapGuard triggers on it so let's fix it. > > Contributed-under: TianoCo

[edk2] [PATCH 1/5] ArmPkg/ArmMmuLib AARCH64: fix out of bounds access

2019-01-06 Thread Ard Biesheuvel
Take care not to dereference BlockEntry if it may be pointing past the end of the page table we are manipulating. It is only a read, and thus harmless, but HeapGuard triggers on it so let's fix it. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- ArmPkg/L