On Fri, Sep 09, 2016 at 01:03:59PM +0100, Ard Biesheuvel wrote:
> On 9 September 2016 at 12:18, Leif Lindholm <[email protected]> wrote:
> > On Fri, Sep 09, 2016 at 08:21:26AM +0100, Ard Biesheuvel wrote:
> >> When switching to the DXE phase stack, set the frame pointer to zero so
> >> that code walking the stack frame will not try to access stack frames\
> >
> > Trailing '\'.
> >
> >> belonging to the old stack.
> >
> > Do you mean that code will check for zero and stop processing, or that
> > it will be accessing rubbish instead of parsing a valid-looking frame?
>
> I don't understand this question. If it is zero, it will stop
> processing. If it is not zero, it will proceed, and potentially
> traverse stack frames in memory that is now owned by someone else.
Which was exactly what I was asking :)
So no need to change (but drop the '\').
/
Leif
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel