Re: [PATCH] FISH DoS when copying file with '`' in name to remote FS



Hi Jindrich,

On Wed, 2006-11-08 at 19:37 +0100, Jindrich Novy wrote:
> +                "file=/%s\n"

Why the substitution instead of just quoting the occurrences of %s?

>                  (unsigned long) s.st_size, name,
> -                (unsigned long) s.st_size, quoted_name,
> -                quoted_name, (unsigned long) s.st_size, quoted_name);
> +                quoted_name, (unsigned long) s.st_size,
> +                (unsigned long) s.st_size);

And what is this doing? Is it in any way related to the quoting issue or
does it fix something else?

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]