]> git.proxmox.com Git - mirror_lxc.git/commit
fix NULL dereference
authorTycho Andersen <tycho.andersen@canonical.com>
Mon, 13 Apr 2015 18:07:02 +0000 (18:07 +0000)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 13 Apr 2015 21:54:45 +0000 (16:54 -0500)
commitdcd1e262744cd37f054264254a7e1472255e6936
treed636db5fc52a24b200259ab28b5020fd472888f4
parent284c4b01ccc887c8cee6cf4b59d7e206a09535b9
fix NULL dereference

lxc_console dereferences C, so we should check that it is not null and fail if
it is.

Reported-by: Coverity
Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/lxccontainer.c