Fix stack-smash bug.
authorhpa <hpa>
Mon, 28 May 2001 19:48:26 +0000 (19:48 +0000)
committerhpa <hpa>
Mon, 28 May 2001 19:48:26 +0000 (19:48 +0000)
NEWS
ldlinux.asm

diff --git a/NEWS b/NEWS
index 9bcd81f..5cce5ab 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,8 @@ Changes in 1.63:
          correctly.
        * Clean up "make install" target, honour INSTALLROOT if it
          exists.
+       * SYSLINUX: Fix stack-smash bug identified by Steffen
+         Winterfeldt.
 
 Changes in 1.62:
        * PXELINUX: Allow the DHCP server to override the
index 50e5e29..c464714 100644 (file)
@@ -259,7 +259,6 @@ xbs_vgatmpbuf       equ 2*trackbufsize
 
 
                 absolute 5000h          ; Here we keep our BSS stuff
-StackBuf       equ $                   ; Start the stack here (grow down - 4K)
 VKernelBuf:    resb vk_size            ; "Current" vkernel
                alignb 4
 AppendBuf       resb max_cmd_len+1     ; append=
@@ -341,6 +340,8 @@ VGAFileMBuf resb 11                 ; Mangled VGA image name
 
                section .text
                 org 7C00h
+StackBuf       equ $                   ; Start the stack here (grow down - 4K)
+
 ;
 ; Primary entry point.  Tempting as though it may be, we can't put the
 ; initial "cli" here; the jmp opcode in the first byte is part of the