]> git.ipfire.org Git - thirdparty/lxc.git/commit
coverity: #1425928
authorChristian Brauner <christian.brauner@ubuntu.com>
Thu, 7 Dec 2017 14:01:51 +0000 (15:01 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 7 Dec 2017 14:01:51 +0000 (15:01 +0100)
commit3ee9e4fb38745f29a4f69528429f5f3be63dfd79
tree32ed27790c9aa3ce00e497d4e045b1ae97921ea5
parente1e7642342dc296626b3c9f4906c0a60924f8477
coverity: #1425928

Avoid NULL-pointer dereference. Apparently monitor.{c,h} calls
lxc_check_inherited() with NULL passed for the config. This isn't really a big
issue since monitor.{c,h} is effectively dead for all liblxc versions that have
the state client patch. Also, the patch that introduces the relevant lines into
lxc_check_inherited() is only in master and yet unreleased.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/start.c