[libvirt] [PATCH 1/3] lxc_process: Resolve Coverity NULL_RETURNS error

Eric Blake eblake at redhat.com
Thu May 16 14:19:33 UTC 2013


On 05/16/2013 08:01 AM, John Ferlan wrote:
> In virLXCProcessReboot, if the 'conn' value is NULL, the eventual
> call to virLXCNetworkLookupByName() via virLXCProcessStart() and
> virLXCProcessSetupInterfaces() will cause a core since it references
> conn->networkDriver directly.

Did you investigate which commit introduced this problem?

> ---
>  src/lxc/lxc_process.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130516/4da14411/attachment-0001.sig>


More information about the libvir-list mailing list