iPXE - Open Source Boot Firmware

[sanboot] Prevent leaking a stack reference for "keep-san" AoE
authorStefan Hajnoczi <stefanha@gmail.com>
Tue, 5 Jan 2010 08:05:32 +0000 (08:05 +0000)
committerMarty Connor <mdc@etherboot.org>
Fri, 15 Jan 2010 21:35:01 +0000 (16:35 -0500)
commit37883e99fd791571c6771c9d1d8721a11e7e8a8f
tree7ba8eaa35735aafd872ec562132358788f67d241
parent245dca9ce6d748815914bf23231c34fe33e7f18b
[sanboot] Prevent leaking a stack reference for "keep-san" AoE

When the "keep-san" option is used, the function is exited without
unregistering the stack allocated int13h drive.  To prevent a dangling
pointer to the stack, these structs should be heap allocated.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Marty Connor <mdc@etherboot.org>
src/arch/i386/interface/pcbios/aoeboot.c