]> git.ipfire.org Git - thirdparty/lxc.git/commit
c/r: check that cgroup_num_hierarchies > 0 1194/head
authorTycho Andersen <tycho.andersen@canonical.com>
Sat, 17 Sep 2016 02:26:31 +0000 (20:26 -0600)
committerTycho Andersen <tycho.andersen@canonical.com>
Sat, 17 Sep 2016 02:26:31 +0000 (20:26 -0600)
commit09e80d0cc4c7d39c43ec0e6e910346d8e1b6461c
treeb4993251ec82a19f080d6c0615096832eb12e61e
parenta0c91fccd9a1ae9c68a10880d4660d63a3b411e8
c/r: check that cgroup_num_hierarchies > 0

Otherwise in the error case, we end up subtracting two from the
static_args, which would lead to a segfault :)

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
src/lxc/criu.c