]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc_process: Avoid passing NULL iface->iname
authorJohn Ferlan <jferlan@redhat.com>
Tue, 22 Jan 2013 22:09:26 +0000 (17:09 -0500)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 23 Jan 2013 14:02:06 +0000 (15:02 +0100)
commit73cdac3f72d202ab435d57841821b0e73fd4161d
tree898eb520acc13755614259c988709e98bdaa8880
parent2e774db80e1f07fa04bb7a4a51117148ab0ffdaf
lxc_process: Avoid passing NULL iface->iname

A followon to commit id: 68dceb635 - if iface->iname is NULL, then
neither virNetDevOpenvswitchRemovePort() nor virNetDevVethDelete()
should be called.  Found by Coverity.
src/lxc/lxc_process.c