[syslinux] 3.36-pre2 without msdos filesystem
H. Peter Anvin
hpa at zytor.com
Sat Feb 3 12:45:38 PST 2007
Tomas M wrote:
>
> I believe that the sprintf is incorrect.
> The line says: if subdir is not empty, start ldlinux_name with "//".
>
> I believe you should swap the arguments, the first %s should be mntpath,
> and then the rest.
>
> eg. sprintf(ldlinux_name, "%s%s%s//ldlinux.sys", mntpath /* first! */,
> subdir ? ...... /*the rest*/ ..... );
>
Err... OK, double user error, a lack of error checking *AND* complete
and total bugs on my part.
You're right, of course; fix pushed out as 3.36-pre3.
-hpa
More information about the Syslinux
mailing list