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

Luciano Miguel Ferreira Rocha strange at nsk.no-ip.org
Tue May 12 07:38:39 PDT 2009


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.

Regards,
Luciano Rocha

-- 
lfr
0/0




More information about the Syslinux mailing list