]> xenbits.xensource.com Git - libvirt.git/commit
Avoid crash when LXC start fails with no interface target
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 23 Nov 2012 16:36:52 +0000 (16:36 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 27 Nov 2012 17:02:22 +0000 (17:02 +0000)
commit68dceb635d8d8f68e36caf4054c32f0f9cb13c22
tree7b34a7011aac194de331859cd523204b13539748
parente11daa2b602e69708d86ada8f7167bf68ee102cd
Avoid crash when LXC start fails with no interface target

If the <interface> device did not contain any <target>
element, LXC would crash on a NULL pointer if starting
the container failed

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/lxc/lxc_process.c