Re: [libvirt PATCH 11/11] virnetclient: Escape socket path

2022-02-11 Thread Daniel P . Berrangé
On Fri, Feb 11, 2022 at 06:39:19PM +0100, Andrea Bolognani wrote: > Just like the name of the netcat command and the connection URI, > the socket path is a user-provided piece of information that > might contain characters that have special meaning for the > shell, and as such should be escaped. >

[libvirt PATCH 11/11] virnetclient: Escape socket path

2022-02-11 Thread Andrea Bolognani
Just like the name of the netcat command and the connection URI, the socket path is a user-provided piece of information that might contain characters that have special meaning for the shell, and as such should be escaped. Signed-off-by: Andrea Bolognani --- src/rpc/virnetclient.c | 5 +++--