]> git.ipfire.org Git - thirdparty/libvirt.git/commit
openvz_conf.c: don't use undefined local, "net"
authorJim Meyering <meyering@redhat.com>
Thu, 3 Sep 2009 10:33:11 +0000 (12:33 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 3 Sep 2009 16:04:23 +0000 (18:04 +0200)
commit1e813ceb3eeb4027894bfe98a8442ba2ed328281
tree551f5f2fbb4310855a58d63f80f74f564800e1fa
parent20f1f714ba4babd7b57f2b4a2657e9e58c60efc0
openvz_conf.c: don't use undefined local, "net"

* src/openvz_conf.c (openvzReadNetworkConf): Initialize "net".
Otherwise, upon openvzRead... failure, we would "goto error;"
where an uninitialized "net" could be dereferenced.
src/openvz_conf.c