]> git.ipfire.org Git - thirdparty/libvirt.git/commit
umlConnectTapDevice: initialize tapfd variable
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 23 May 2013 13:22:35 +0000 (15:22 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 23 May 2013 13:22:35 +0000 (15:22 +0200)
commit4f3729f812d6746fe1dc6c4a5e474e65b9b9787e
tree1f597155382f51e855015a930dfd6cf05c6d4562
parent03d813bbcd7b4a18360105500672b84d985dd889
umlConnectTapDevice: initialize tapfd variable

There is possibility to jump to 'cleanup' label without tapfd variable
being initialized. In the label, VIR_FORCE_CLOSE(tapfd) is called which
can have fatal consequences.
src/uml/uml_conf.c