]> git.ipfire.org Git - thirdparty/lxc.git/commit
execute: account for -o path option count
authorTycho Andersen <tycho@tycho.ws>
Wed, 9 May 2018 01:29:06 +0000 (01:29 +0000)
committerTycho Andersen <tycho@tycho.ws>
Wed, 9 May 2018 14:36:02 +0000 (14:36 +0000)
commit9c40b2d97829ce2afea4eed9cb4eac40ccec82e5
tree3150093ce580488883e9f260258763e602836e3b
parentb2efeb0bb95e35e5b597b91224d07e6496d0161e
execute: account for -o path option count

This always works fine... until your exec() fails and you try to go and
free it, you've overwritten the allocator's metadata (and potentially other
stuff) and it fails.

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
src/lxc/execute.c