[PATCH] FISH DoS when copying file with '`' in name to remote FS
Leonard den Ottolander
leonard at den.ottolander.nl
Wed Nov 8 22:05:17 UTC 2006
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
More information about the mc-devel
mailing list