]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc: Avoid possible NULL dereference on *root prior to opendir().
authorJohn Ferlan <jferlan@redhat.com>
Mon, 7 Jan 2013 17:09:33 +0000 (12:09 -0500)
committerEric Blake <eblake@redhat.com>
Tue, 8 Jan 2013 00:11:57 +0000 (17:11 -0700)
commit36ac6e37bec9c2b7043ca9f78386fca1f73de0c0
tree7567e82802321195b3e52533a619b90e55b90c90
parent2e0e1a91f7f6c23962a4a37613a39eba94cd4ea6
lxc: Avoid possible NULL dereference on *root prior to opendir().

If running on older Linux without mounted cgroups then its possible that
*root would be NULL.
src/lxc/lxc_container.c