Re: [lxc-devel] [PATCH] lxc-* tools are vulnerable for arguments with spaces

2011-03-22 Thread Daniel Lezcano
On 03/15/2011 08:19 PM, Michel Normand wrote: > this is related to the bug > http://sourceforge.net/tracker/?func=detail&aid=3113612&group_id=163076&atid=826303 > that suggested to modify bash lxc script to properly use "$@" in place of "$*" > > Signed-off-by: Michel Normand Applied, thanks Michel.

[lxc-devel] [PATCH] lxc-* tools are vulnerable for arguments with spaces

2011-03-15 Thread Michel Normand
The related patch was not tested, I only wrote the code change as per the text of related bug http://sourceforge.net/tracker/?func=detail&aid=3113612&group_id=163076&atid=826303 because I saw the bug in status closed but still found some scripts that are using $* in place of $@ --- Michel --

[lxc-devel] [PATCH] lxc-* tools are vulnerable for arguments with spaces

2011-03-15 Thread Michel Normand
this is related to the bug http://sourceforge.net/tracker/?func=detail&aid=3113612&group_id=163076&atid=826303 that suggested to modify bash lxc script to properly use "$@" in place of "$*" Signed-off-by: Michel Normand --- src/lxc/lxc-ls.in |4 ++-- src/lxc/lxc-netstat.in |6 +++---