[syslinux] [ISOLINUX] No boot: prompt with ISOLINUX 3.07

Paul Dickson paul at permanentmail.com
Mon Mar 28 09:06:39 PST 2005


On Mon, 28 Mar 2005 09:11:16 -0700, Paul Dickson wrote:

> Looks like it might be uninitialized data.  vk_appendlen is only set by
> the APPEND and LABEL functions, BUT the LABEL function (referenced first
> in the config file) first calls commit_vk.  

This patch to 3.08-pre5 resolves my problem, although you might want to
move it some place else and/or increase the area being initialized:

	-Paul


--- ../syslinux-3.08-pre5/parseconfig.inc       2005-01-06 15:34:06.000000000 -0700
+++ ../parseconfig.inc  2005-03-28 09:53:40.248168077 -0700
@@ -302,8 +302,11 @@
 ; Main loop for configuration file parsing
 ;
 parse_config:
-               call getcommand
-                jnc parse_config               ; If not EOF do it again
+               xor ax,ax                       ; Init appaendlen
+               mov [VKernelBuf+vk_appendlen],ax
+
+next_cmd:      call getcommand
+                jnc next_cmd                   ; If not EOF do it again
                ;
                ; The fall through to commit_vk to commit any final
                ; VKernel being read




More information about the Syslinux mailing list