Re: [PATCH] FISH DoS when copying file with '`' in name to remote FS
- From: Leonard den Ottolander <leonard den ottolander nl>
- To: Jindrich Novy <jnovy redhat com>
- Cc: MC Devel <mc-devel gnome org>
- Subject: Re: [PATCH] FISH DoS when copying file with '`' in name to remote FS
- Date: Wed, 08 Nov 2006 23:05:17 +0100
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]