]> git.ipfire.org Git - thirdparty/lxc.git/commit
fix free() of args to startl
authorDwight Engen <dwight.engen@oracle.com>
Tue, 29 Oct 2013 18:38:00 +0000 (14:38 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 29 Oct 2013 18:55:05 +0000 (14:55 -0400)
commit4e03ae57eddef788856415673b6d9bc0e3370795
tree8ae22b0b854813e66529100da5da27f88d9595ab
parent9588a6cecb4d991346622d19d6e2b1660ff3eb4b
fix free() of args to startl

Coverity 1076328 marked this as "Use after free", which it isn't really,
its actually just free()ing the wrong 2nd, 3rd, etc... pointers. Test by
passing two or more args to startl, without this change you get segfault
when free()ing the second pointer/arg.

Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/lxccontainer.c