]> git.proxmox.com Git - mirror_lxc.git/commit
lxc_execute: properly figure out number of needed arguments
authorSerge Hallyn <shallyn@cisco.com>
Tue, 5 Dec 2017 04:30:26 +0000 (22:30 -0600)
committerSerge Hallyn <shallyn@cisco.com>
Tue, 5 Dec 2017 04:30:26 +0000 (22:30 -0600)
commit858faf70ab8d73232a07d49131a442cf954a4e00
treecd64308e5ade7c721c0ab20c5ef4ef641b8155d3
parent68eeee2f479ca62cb7e92dd99991109a87d67354
lxc_execute: properly figure out number of needed arguments

The lxc_log args have noghing to do with lxc.rootfs.path, and
we need room for a NULL at end of arguments.

How this bug was hidden for so long I don't know - I can only
trigger it on certain systems under certain conditions, but it's
definately wrong as is.

Signed-off-by: Serge Hallyn <shallyn@cisco.com>
src/lxc/execute.c