diff options
Diffstat (limited to 'com32/modules/pxechn.c')
-rw-r--r-- | com32/modules/pxechn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/modules/pxechn.c b/com32/modules/pxechn.c index 7f2002db..bd614aa9 100644 --- a/com32/modules/pxechn.c +++ b/com32/modules/pxechn.c @@ -328,6 +328,7 @@ void pxe_set_regs(struct syslinux_rm_regs *regs) { com32sys_t tregs; + memset(&tregs,0,sizeof(tregs)); regs->ip = 0x7C00; /* Plan A uses SS:[SP + 4] */ /* sdi->pxe.stack is a usable pointer, not something that can be nicely |