[syslinux] bug in com32/modules/chain.c

H. Peter Anvin hpa at zytor.com
Wed May 13 09:38:52 PDT 2009


Luciano Miguel Ferreira Rocha wrote:
> Hello,
> 
> The main function in com32/modules/chain.c does a lot of argument
> parsing, finding the drivename, partition, seg, etc., for two statements
> nullifying most of the work:
> 
>   drivename = argv[1];
>   partition = argv[2];		/* Possibly null */
> 
> Seeing as the function initializes the variables correctly at the
> beginning:
> 
>   drivename = "boot";
>   partition = NULL;
> 
> shouldn't these statements be removed?
> 
> This in syslinux-3.81-pre2.
> 

Probably.  Will look into it.

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.




More information about the Syslinux mailing list