cppcheck analysis of libvirt_0.8.3-5.dsc
- ./daemon/libvirtd.c:679 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./daemon/libvirtd.c:679 [error] - Invalid number of character ({) when these macros are defined: 'ATTRIBUTE_FMT_PRINTF'.
- ./daemon/libvirtd.c:679 [error] - Invalid number of character ({) when these macros are defined: 'ATTRIBUTE_FMT_PRINTF;__GNUC__'.
- ./daemon/libvirtd.c:679 [error] - Invalid number of character ({) when these macros are defined: 'GNUTLS_1_0_COMPAT'.
- ./daemon/libvirtd.c:679 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_ANSIDECL_H;__GNUC__'.
- ./daemon/libvirtd.c:679 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_AVAHI'.
- ./daemon/libvirtd.c:679 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_POLKIT0'.
- ./daemon/libvirtd.c:679 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_POLKIT;SO_PEERCRED'.
- ./daemon/libvirtd.c:679 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SASL'.
- ./daemon/libvirtd.c:679 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SYS_SYSLIMITS_H'.
- ./gnulib/lib/getaddrinfo.c:329 [error] - Memory leak: storage
- ./gnulib/lib/getaddrinfo.c:330 [error] - Memory leak: storage
- ./gnulib/tests/test-getdelim.c:50 [error] - Resource leak: f
- ./gnulib/tests/test-getline.c:50 [error] - Resource leak: f
- ./src/lxc/lxc_driver.c:2217 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./src/nwfilter/nwfilter_gentech_driver.c:674 [error] - Possible null pointer dereference: insts
- ./src/openvz/openvz_conf.c:537 [error] - Mismatching allocation and deallocation: fp
- ./src/openvz/openvz_conf.c:529 [error] - Mismatching allocation and deallocation: fp
- ./src/openvz/openvz_conf.c:606 [error] - Deallocating a deallocated pointer: fd
- ./src/openvz/openvz_conf.c:986 [error] - Mismatching allocation and deallocation: fp
- ./src/phyp/phyp_driver.c:1247 [error] - Memory leak: managed_system
- ./src/qemu/qemu_conf.c:5022 [error] - Memory leak: optstr
- ./src/qemu/qemu_driver.c:9623 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./src/qemu/qemu_driver.c:9623 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_LINUX_KVM_H'.
- ./src/qemu/qemu_driver.c:9623 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_YAJL'.
- ./src/qemu/qemu_driver.c:9623 [error] - Invalid number of character ({) when these macros are defined: 'WIN32'.
- ./src/qemu/qemu_driver.c:9623 [error] - Invalid number of character ({) when these macros are defined: 'WITH_MACVTAP'.
- ./src/qemu/qemu_driver.c:6641 [error] - Deallocating a deallocated pointer: fd
- ./src/qemu/qemu_driver.c:6685 [error] - Deallocating a deallocated pointer: fd
- ./src/storage/parthelper.c:179 [error] - Memory leak: canonical_path
- ./src/storage/storage_backend_fs.c:405 [error] - Memory leak: options
- ./src/util/logging.c:981 [error] - Allocation with strdup, virLogParseFilters doesn't release it.
- ./src/util/logging.c:984 [error] - Allocation with strdup, virLogParseOutputs doesn't release it.
- ./src/vbox/vbox_tmpl.c:4555 [error] - Possible null pointer dereference: machine - otherwise it is redundant to check if machine is null at line 4560
- ./tests/interfacexml2xmltest.c:24 [error] - Uninitialized variable: xmlData
- ./tests/networkxml2xmltest.c:24 [error] - Uninitialized variable: inXmlData
- ./tests/networkxml2xmltest.c:26 [error] - Uninitialized variable: outXmlData
- ./tests/nodedevxml2xmltest.c:24 [error] - Uninitialized variable: xmlData
- ./tests/nwfilterxml2xmltest.c:27 [error] - Uninitialized variable: inXmlData
- ./tests/nwfilterxml2xmltest.c:29 [error] - Uninitialized variable: outXmlData
- ./tests/qemuargv2xmltest.c:41 [error] - Uninitialized variable: xmlData
- ./tests/qemuargv2xmltest.c:43 [error] - Uninitialized variable: cmdData
- ./tests/qemuhelptest.c:44 [error] - Uninitialized variable: helpStr
- ./tests/qemuxml2argvtest.c:31 [error] - Uninitialized variable: argvData
- ./tests/qemuxml2xmltest.c:27 [error] - Uninitialized variable: inXmlData
- ./tests/qemuxml2xmltest.c:29 [error] - Uninitialized variable: outXmlData
- ./tests/sexpr2xmltest.c:26 [error] - Uninitialized variable: xmlData
- ./tests/sexpr2xmltest.c:27 [error] - Uninitialized variable: sexprData
- ./tests/storagepoolxml2xmltest.c:24 [error] - Uninitialized variable: inXmlData
- ./tests/storagepoolxml2xmltest.c:26 [error] - Uninitialized variable: outXmlData
- ./tests/storagevolxml2xmltest.c:26 [error] - Uninitialized variable: poolXmlData
- ./tests/storagevolxml2xmltest.c:28 [error] - Uninitialized variable: inXmlData
- ./tests/storagevolxml2xmltest.c:30 [error] - Uninitialized variable: outXmlData
- ./tests/virshtest.c:53 [error] - Uninitialized variable: actualData
- ./tests/virshtest.c:74 [error] - Uninitialized variable: expectData
- ./tests/vmx2xmltest.c:77 [error] - Uninitialized variable: vmxData
- ./tests/vmx2xmltest.c:78 [error] - Uninitialized variable: xmlData
- ./tests/xencapstest.c:23 [error] - Uninitialized variable: xmlData
- ./tests/xmconfigtest.c:49 [error] - Uninitialized variable: xmlData
- ./tests/xmconfigtest.c:50 [error] - Uninitialized variable: xmcfgData
- ./tests/xmconfigtest.c:51 [error] - Uninitialized variable: gotxmcfgData
- ./tests/xmconfigtest.c:104 [error] - Uninitialized variable: xmlData
- ./tests/xmconfigtest.c:105 [error] - Uninitialized variable: xmcfgData
- ./tests/xml2sexprtest.c:27 [error] - Uninitialized variable: xmlData
- ./tests/xml2sexprtest.c:28 [error] - Uninitialized variable: sexprData
- ./tests/xml2vmxtest.c:77 [error] - Uninitialized variable: xmlData
- ./tests/xml2vmxtest.c:78 [error] - Uninitialized variable: vmxData
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Mon, 20 Dec 2010 21:16:37 +0000, based on results by cppcheck 1.46