Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 584630 Details for
Bug 771021
Coverity scan revealed defects
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
CoverityScan-libvirt-0.9.10-19.el6
libvirt-0.9.10-19.el6.err (text/plain), 48.23 KB, created by
Alex Jia
on 2012-05-15 10:16:39 UTC
(
hide
)
Description:
CoverityScan-libvirt-0.9.10-19.el6
Filename:
MIME Type:
Creator:
Alex Jia
Created:
2012-05-15 10:16:39 UTC
Size:
48.23 KB
patch
obsolete
> >Error: CHECKED_RETURN: >/builddir/build/BUILD/libvirt-0.9.10/src/qemu/qemu_hostdev.c:104: example_checked: "pciDeviceListAdd(list, activeDev)" has its value checked in "pciDeviceListAdd(list, activeDev) < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/qemu/qemu_hostdev.c:61: example_checked: "pciDeviceListAdd(list, dev)" has its value checked in "pciDeviceListAdd(list, dev) < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/qemu/qemu_hostdev.c:462: example_checked: "pciDeviceListAdd(driver->activePciHostdevs, dev)" has its value checked in "pciDeviceListAdd(driver->activePciHostdevs, dev) < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/qemu/qemu_hostdev.c:151: example_checked: "pciDeviceListAdd(driver->activePciHostdevs, dev)" has its value checked in "pciDeviceListAdd(driver->activePciHostdevs, dev) < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/util/pci.c:1142: example_checked: "pciDeviceListAdd(inactiveDevs, dev)" has its value checked in "pciDeviceListAdd(inactiveDevs, dev) < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/qemu/qemu_hostdev.c:732: check_return: Calling function "pciDeviceListAdd" without checking return value (as is done elsewhere 5 out of 6 times). >/builddir/build/BUILD/libvirt-0.9.10/src/qemu/qemu_hostdev.c:732: unchecked_value: No check of the return value of "pciDeviceListAdd(driver->inactivePciHostdevs, dev)". > >Error: CHECKED_RETURN: >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_audit.c:436: example_checked: "virAsprintf(&extra, "major category=%s maj=%02X acl=%s", name, maj, perms)" has its value checked in "virAsprintf(&extra, "major category=%s maj=%02X acl=%s", name, maj, perms) < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_audit.c:474: example_checked: "virAsprintf(&extra, "path path=%s rdev=%s acl=%s", path, (rdev ? rdev : "?"), perms)" has its value checked in "virAsprintf(&extra, "path path=%s rdev=%s acl=%s", path, (rdev ? rdev : "?"), perms) < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_audit.c:266: example_checked: "virAsprintf(&address, "%.4x:%.2x:%.2x.%.1x", hostdev->source.subsys.u.pci.domain, hostdev->source.subsys.u.pci.bus, hostdev->source.subsys.u.pci.slot, hostdev->source.subsys.u.pci.function)" has its value checked in "virAsprintf(&address, "%.4x:%.2x:%.2x.%.1x", hostdev->source.subsys.u.pci.domain, hostdev->source.subsys.u.pci.bus, hostdev->source.subsys.u.pci.slot, hostdev->source.subsys.u.pci.function) < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_audit.c:276: example_checked: "virAsprintf(&address, "%.3d.%.3d", hostdev->source.subsys.u.usb.bus, hostdev->source.subsys.u.usb.device)" has its value checked in "virAsprintf(&address, "%.3d.%.3d", hostdev->source.subsys.u.usb.bus, hostdev->source.subsys.u.usb.device) < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_audit.c:339: example_checked: "virAsprintf(&address, "USB redirdev")" has its value checked in "virAsprintf(&address, "USB redirdev") < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/nwfilter/nwfilter_ebiptables_driver.c:2891: check_return: Calling function "virAsprintf" without checking return value (as is done elsewhere 301 out of 314 times). >/builddir/build/BUILD/libvirt-0.9.10/src/nwfilter/nwfilter_ebiptables_driver.c:2891: unchecked_value: No check of the return value of "virAsprintf(&protostr, "-d 01:80:c2:00:00:00 ")". > >Error: CHECKED_RETURN: >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_audit.c:436: example_checked: "virAsprintf(&extra, "major category=%s maj=%02X acl=%s", name, maj, perms)" has its value checked in "virAsprintf(&extra, "major category=%s maj=%02X acl=%s", name, maj, perms) < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_audit.c:474: example_checked: "virAsprintf(&extra, "path path=%s rdev=%s acl=%s", path, (rdev ? rdev : "?"), perms)" has its value checked in "virAsprintf(&extra, "path path=%s rdev=%s acl=%s", path, (rdev ? rdev : "?"), perms) < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_audit.c:266: example_checked: "virAsprintf(&address, "%.4x:%.2x:%.2x.%.1x", hostdev->source.subsys.u.pci.domain, hostdev->source.subsys.u.pci.bus, hostdev->source.subsys.u.pci.slot, hostdev->source.subsys.u.pci.function)" has its value checked in "virAsprintf(&address, "%.4x:%.2x:%.2x.%.1x", hostdev->source.subsys.u.pci.domain, hostdev->source.subsys.u.pci.bus, hostdev->source.subsys.u.pci.slot, hostdev->source.subsys.u.pci.function) < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_audit.c:276: example_checked: "virAsprintf(&address, "%.3d.%.3d", hostdev->source.subsys.u.usb.bus, hostdev->source.subsys.u.usb.device)" has its value checked in "virAsprintf(&address, "%.3d.%.3d", hostdev->source.subsys.u.usb.bus, hostdev->source.subsys.u.usb.device) < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_audit.c:339: example_checked: "virAsprintf(&address, "USB redirdev")" has its value checked in "virAsprintf(&address, "USB redirdev") < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/nwfilter/nwfilter_ebiptables_driver.c:2894: check_return: Calling function "virAsprintf" without checking return value (as is done elsewhere 301 out of 314 times). >/builddir/build/BUILD/libvirt-0.9.10/src/nwfilter/nwfilter_ebiptables_driver.c:2894: unchecked_value: No check of the return value of "virAsprintf(&protostr, "-p 0x%04x ", l3_protocols[protoidx].attr)". > >Error: CHECKED_RETURN: >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_audit.c:436: example_checked: "virAsprintf(&extra, "major category=%s maj=%02X acl=%s", name, maj, perms)" has its value checked in "virAsprintf(&extra, "major category=%s maj=%02X acl=%s", name, maj, perms) < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_audit.c:474: example_checked: "virAsprintf(&extra, "path path=%s rdev=%s acl=%s", path, (rdev ? rdev : "?"), perms)" has its value checked in "virAsprintf(&extra, "path path=%s rdev=%s acl=%s", path, (rdev ? rdev : "?"), perms) < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_audit.c:266: example_checked: "virAsprintf(&address, "%.4x:%.2x:%.2x.%.1x", hostdev->source.subsys.u.pci.domain, hostdev->source.subsys.u.pci.bus, hostdev->source.subsys.u.pci.slot, hostdev->source.subsys.u.pci.function)" has its value checked in "virAsprintf(&address, "%.4x:%.2x:%.2x.%.1x", hostdev->source.subsys.u.pci.domain, hostdev->source.subsys.u.pci.bus, hostdev->source.subsys.u.pci.slot, hostdev->source.subsys.u.pci.function) < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_audit.c:276: example_checked: "virAsprintf(&address, "%.3d.%.3d", hostdev->source.subsys.u.usb.bus, hostdev->source.subsys.u.usb.device)" has its value checked in "virAsprintf(&address, "%.3d.%.3d", hostdev->source.subsys.u.usb.bus, hostdev->source.subsys.u.usb.device) < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_audit.c:339: example_checked: "virAsprintf(&address, "USB redirdev")" has its value checked in "virAsprintf(&address, "USB redirdev") < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/qemu/qemu_process.c:2683: check_return: Calling function "virAsprintf" without checking return value (as is done elsewhere 301 out of 314 times). >/builddir/build/BUILD/libvirt-0.9.10/src/qemu/qemu_process.c:2683: unchecked_value: No check of the return value of "virAsprintf(&msg, "was paused (%s)", virDomainPausedReasonTypeToString(reason))". > >Error: CHECKED_RETURN: >/builddir/build/BUILD/libvirt-0.9.10/src/storage/storage_backend.c:1439: example_assign: Assigning: "err" = return value from "regcomp(reg + i, regex[i], 1)". >/builddir/build/BUILD/libvirt-0.9.10/src/storage/storage_backend.c:1440: example_checked: "err" has its value checked in "err != 0". >/builddir/build/BUILD/libvirt-0.9.10/src/storage/storage_backend_logical.c:203: example_assign: Assigning: "err" = return value from "regcomp(reg, regex, 1)". >/builddir/build/BUILD/libvirt-0.9.10/src/storage/storage_backend_logical.c:204: example_checked: "err" has its value checked in "err != 0". >/builddir/build/BUILD/libvirt-0.9.10/src/xen/block_stats.c:230: example_assign: Assigning: "err" = return value from "regcomp(&myreg, regex, 1)". >/builddir/build/BUILD/libvirt-0.9.10/src/xen/block_stats.c:231: example_checked: "err" has its value checked in "err != 0". >/builddir/build/BUILD/libvirt-0.9.10/src/xen/xen_hypervisor.c:1996: example_assign: Assigning: "errcode" = return value from "regcomp(&flags_hvm_rec, flags_hvm_re, 1)". >/builddir/build/BUILD/libvirt-0.9.10/src/xen/xen_hypervisor.c:1997: example_checked: "errcode" has its value checked in "errcode != 0". >/builddir/build/BUILD/libvirt-0.9.10/src/xen/xen_hypervisor.c:2005: example_assign: Assigning: "errcode" = return value from "regcomp(&flags_pae_rec, flags_pae_re, 1)". >/builddir/build/BUILD/libvirt-0.9.10/src/xen/xen_hypervisor.c:2006: example_checked: "errcode" has its value checked in "errcode != 0". >/builddir/build/BUILD/libvirt-0.9.10/src/libxl/libxl_conf.c:917: check_return: Calling function "regcomp" without checking return value (as is done elsewhere 6 out of 7 times). >/builddir/build/BUILD/libvirt-0.9.10/src/libxl/libxl_conf.c:917: unchecked_value: No check of the return value of "regcomp(&xen_cap_rec, xen_cap_re, 1)". > >Error: CHECKED_RETURN: >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetservermdns.c:342: example_checked: "gettimeofday(&now, NULL)" has its value checked in "gettimeofday(&now, NULL) < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetservermdns.c:384: example_checked: "gettimeofday(&now, NULL)" has its value checked in "gettimeofday(&now, NULL) < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/test/test_driver.c:2804: example_checked: "gettimeofday(&tv, NULL)" has its value checked in "gettimeofday(&tv, NULL) < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/test/test_driver.c:2279: example_checked: "gettimeofday(&tv, NULL)" has its value checked in "gettimeofday(&tv, NULL) < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/test/test_driver.c:2859: example_checked: "gettimeofday(&tv, NULL)" has its value checked in "gettimeofday(&tv, NULL) < 0". >/builddir/build/BUILD/libvirt-0.9.10/gnulib/lib/tempname.c:239: check_return: Calling function "gettimeofday" without checking return value (as is done elsewhere 6 out of 7 times). >/builddir/build/BUILD/libvirt-0.9.10/gnulib/lib/tempname.c:239: unchecked_value: No check of the return value of "gettimeofday(&tv, NULL)". > >Error: CHECKED_RETURN: >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_audit.c:436: example_checked: "virAsprintf(&extra, "major category=%s maj=%02X acl=%s", name, maj, perms)" has its value checked in "virAsprintf(&extra, "major category=%s maj=%02X acl=%s", name, maj, perms) < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_audit.c:474: example_checked: "virAsprintf(&extra, "path path=%s rdev=%s acl=%s", path, (rdev ? rdev : "?"), perms)" has its value checked in "virAsprintf(&extra, "path path=%s rdev=%s acl=%s", path, (rdev ? rdev : "?"), perms) < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_audit.c:266: example_checked: "virAsprintf(&address, "%.4x:%.2x:%.2x.%.1x", hostdev->source.subsys.u.pci.domain, hostdev->source.subsys.u.pci.bus, hostdev->source.subsys.u.pci.slot, hostdev->source.subsys.u.pci.function)" has its value checked in "virAsprintf(&address, "%.4x:%.2x:%.2x.%.1x", hostdev->source.subsys.u.pci.domain, hostdev->source.subsys.u.pci.bus, hostdev->source.subsys.u.pci.slot, hostdev->source.subsys.u.pci.function) < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_audit.c:276: example_checked: "virAsprintf(&address, "%.3d.%.3d", hostdev->source.subsys.u.usb.bus, hostdev->source.subsys.u.usb.device)" has its value checked in "virAsprintf(&address, "%.3d.%.3d", hostdev->source.subsys.u.usb.bus, hostdev->source.subsys.u.usb.device) < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_audit.c:339: example_checked: "virAsprintf(&address, "USB redirdev")" has its value checked in "virAsprintf(&address, "USB redirdev") < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/xen/xend_internal.c:2733: check_return: Calling function "virAsprintf" without checking return value (as is done elsewhere 301 out of 314 times). >/builddir/build/BUILD/libvirt-0.9.10/src/xen/xend_internal.c:2733: unchecked_value: No check of the return value of "virAsprintf(&target, "PCI device: %.4x:%.2x:%.2x", PCIAddr.domain, PCIAddr.bus, PCIAddr.slot)". > >Error: DEADCODE: >/builddir/build/BUILD/libvirt-0.9.10/gnulib/lib/strerror_r.c:153: dead_error_condition: On this path, the condition "msg" cannot be true. >/builddir/build/BUILD/libvirt-0.9.10/gnulib/lib/strerror_r.c:151: const: After this line, the value of "msg" is equal to 0. >/builddir/build/BUILD/libvirt-0.9.10/gnulib/lib/strerror_r.c:151: assignment: Assigning: "msg" = "NULL". >/builddir/build/BUILD/libvirt-0.9.10/gnulib/lib/strerror_r.c:154: dead_error_line: Execution cannot reach this statement "return safe_copy(buf, bufle...". > >Error: DEADCODE: >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetclient.c:332: dead_error_condition: On this path, the condition "ka" cannot be true. >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetclient.c:274: const: After this line, the value of "ka" is equal to 0. >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetclient.c:312: const: After this line, the value of "ka" is equal to 0. >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetclient.c:274: assignment: Assigning: "ka" = "NULL". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetclient.c:312: new_values: Noticing condition "ka = virKeepAliveNew(-1, 0U, client, virNetClientKeepAliveSendCB, virNetClientKeepAliveDeadCB, virNetClientEventFree)". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetclient.c:333: dead_error_begin: Execution cannot reach this statement "virKeepAliveStop(ka);". > >Error: DEADCODE: >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2125: dead_error_condition: On this path, the condition "vol" cannot be true. >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2041: const: After this line, the value of "vol" is equal to 0. >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2112: const: After this line, the value of "vol" is equal to 0. >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2041: assignment: Assigning: "vol" = "NULL". >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2112: new_values: Noticing condition "(vol = virGetStorageVol(pool->conn, pool->name, voldef->name, key)) == NULL". >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2126: dead_error_line: Execution cannot reach this statement "virUnrefStorageVol(vol);". > >Error: DEADCODE: >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:3323: dead_error_condition: On this path, the condition "exit_status < 0" cannot be true. >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:3314: const: After this line, the value of "exit_status" is equal to 0. >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:3314: assignment: Assigning: "exit_status" = "0". >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:3324: dead_error_line: Execution cannot reach this statement "goto cleanup;". > >Error: DEADCODE: >/builddir/build/BUILD/libvirt-0.9.10/src/lxc/lxc_controller.c:960: dead_error_condition: On this path, the condition "ret == 4" cannot be true. >/builddir/build/BUILD/libvirt-0.9.10/src/lxc/lxc_controller.c:959: at_most: After this line, the value of "ret" is at most -1. >/builddir/build/BUILD/libvirt-0.9.10/src/lxc/lxc_controller.c:959: new_values: Noticing condition "ret < 0". >/builddir/build/BUILD/libvirt-0.9.10/src/lxc/lxc_controller.c:961: dead_error_line: Execution cannot reach this statement "continue;". > >Error: FORWARD_NULL: >/builddir/build/BUILD/libvirt-0.9.10/src/xen/xen_driver.c:1162: var_compare_op: Comparing "dom" to null implies that "dom" might be null. >/builddir/build/BUILD/libvirt-0.9.10/src/xen/xen_driver.c:1167: var_deref_model: Passing null variable "dom" to function "xenUnifiedDomainSetVcpusFlags", which dereferences it. >/builddir/build/BUILD/libvirt-0.9.10/src/xen/xen_driver.c:1111: deref_parm: Directly dereferencing parameter "dom". > >Error: MISSING_BREAK: >/builddir/build/BUILD/libvirt-0.9.10/src/libxl/libxl_driver.c:3269: unterminated_case: This case (value 2) is not terminated by a 'break' statement. >/builddir/build/BUILD/libvirt-0.9.10/src/libxl/libxl_driver.c:3271: fallthrough: The above case falls through to this one. > >Error: MISSING_BREAK: >/builddir/build/BUILD/libvirt-0.9.10/src/libxl/libxl_driver.c:3293: unterminated_case: This case (value 2) is not terminated by a 'break' statement. >/builddir/build/BUILD/libvirt-0.9.10/src/libxl/libxl_driver.c:3295: fallthrough: The above case falls through to this one. > >Error: MISSING_RETURN: >/tmp/tmp_qDWig.c:1: missing_return: Arriving at the end of a function without returning a value. > >Error: NEGATIVE_RETURNS: >/builddir/build/BUILD/libvirt-0.9.10/src/util/buf.c:147: negative_return_fn: Function "virBufferGetIndent(buf, true)" returns a negative number. >/builddir/build/BUILD/libvirt-0.9.10/src/util/buf.c:89: return_negative_constant: Explicitly returning negative value "-1". >/builddir/build/BUILD/libvirt-0.9.10/src/util/buf.c:147: var_assign: Assigning: signed variable "indent" = "virBufferGetIndent". >/builddir/build/BUILD/libvirt-0.9.10/src/util/buf.c:157: negative_returns: "indent" is passed to a parameter that cannot be negative. > >Error: NEGATIVE_RETURNS: >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:434: var_tested_neg: Assigning: "iterIndex" = a negative value. >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:473: negative_returns: Using variable "iterIndex" as an index to array "res->iter". > >Error: NULL_RETURNS: >/builddir/build/BUILD/libvirt-0.9.10/src/qemu/qemu_hostdev.c:103: example_checked: "pciDeviceListFind(driver->activePciHostdevs, dev)" has its value checked in "activeDev = pciDeviceListFind(driver->activePciHostdevs, dev)". >/builddir/build/BUILD/libvirt-0.9.10/src/qemu/qemu_hostdev.c:781: example_assign: Assigning: "activeDev" = return value from "pciDeviceListFind(driver->activePciHostdevs, dev)". >/builddir/build/BUILD/libvirt-0.9.10/src/qemu/qemu_hostdev.c:782: example_checked: "activeDev" has its value checked in "activeDev". >/builddir/build/BUILD/libvirt-0.9.10/src/qemu/qemu_hostdev.c:409: example_checked: "pciDeviceListFind(driver->activePciHostdevs, dev)" has its value checked in "other = pciDeviceListFind(driver->activePciHostdevs, dev)". >/builddir/build/BUILD/libvirt-0.9.10/src/qemu/qemu_hostdev.c:506: example_checked: "pciDeviceListFind(pcidevs, dev)" has its value checked in "pcidev = pciDeviceListFind(pcidevs, dev)". >/builddir/build/BUILD/libvirt-0.9.10/src/util/pci.c:1532: example_checked: "pciDeviceListFind(list, dev)" has its value checked in "pciDeviceListFind(list, dev)". >/builddir/build/BUILD/libvirt-0.9.10/src/qemu/qemu_hostdev.c:481: returned_null: Function "pciDeviceListFind" returns null (checked 10 out of 11 times). >/builddir/build/BUILD/libvirt-0.9.10/src/util/pci.c:1616: return_null: Explicitly returning NULL. >/builddir/build/BUILD/libvirt-0.9.10/src/qemu/qemu_hostdev.c:481: var_assigned: Assigning: "activeDev" = null return value from "pciDeviceListFind". >/builddir/build/BUILD/libvirt-0.9.10/src/qemu/qemu_hostdev.c:483: dereference: Dereferencing a pointer that might be null "activeDev" when calling "pciDeviceSetUsedBy". >/builddir/build/BUILD/libvirt-0.9.10/src/util/pci.c:1480: deref_parm: Directly dereferencing parameter "dev". > >Error: NULL_RETURNS: >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:606: example_checked: "virHashLookup(table->hashTable, name)" has its value checked in "virHashLookup(table->hashTable, name)". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:795: example_assign: Assigning: "value" = return value from "virHashLookup(table->hashTable, nam)". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:796: example_checked: "value" has its value checked in "value". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:1085: example_assign: Assigning: "varValue" = return value from "virHashLookup(hash->hashTable, varName)". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:1086: example_checked: "varValue" has its value checked in "varValue". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:322: example_assign: Assigning: "varValue" = return value from "virHashLookup(hash->hashTable, varName)". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:323: example_checked: "varValue" has its value checked in "varValue == NULL". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:561: example_assign: Assigning: "value" = return value from "virHashLookup(ci->hashTable->hashTable, varName)". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:562: example_checked: "value" has its value checked in "value". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:390: returned_null: Function "virHashLookup" returns null (checked 58 out of 62 times). >/builddir/build/BUILD/libvirt-0.9.10/src/util/virhash.c:372: return_null: Explicitly returning NULL. >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:390: var_assigned: Assigning: "varValue" = null return value from "virHashLookup". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:392: dereference: Dereferencing a pointer that might be null "varValue" when calling "virNWFilterVarValueGetNthValue". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:157: deref_parm: Directly dereferencing parameter "val". > >Error: NULL_RETURNS: >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:606: example_checked: "virHashLookup(table->hashTable, name)" has its value checked in "virHashLookup(table->hashTable, name)". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:795: example_assign: Assigning: "value" = return value from "virHashLookup(table->hashTable, nam)". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:796: example_checked: "value" has its value checked in "value". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:1085: example_assign: Assigning: "varValue" = return value from "virHashLookup(hash->hashTable, varName)". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:1086: example_checked: "varValue" has its value checked in "varValue". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:322: example_assign: Assigning: "varValue" = return value from "virHashLookup(hash->hashTable, varName)". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:323: example_checked: "varValue" has its value checked in "varValue == NULL". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:561: example_assign: Assigning: "value" = return value from "virHashLookup(ci->hashTable->hashTable, varName)". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:562: example_checked: "value" has its value checked in "value". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:398: returned_null: Function "virHashLookup" returns null (checked 58 out of 62 times). >/builddir/build/BUILD/libvirt-0.9.10/src/util/virhash.c:372: return_null: Explicitly returning NULL. >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:398: var_assigned: Assigning: "tmp" = null return value from "virHashLookup". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:399: dereference: Dereferencing a pointer that might be null "tmp" when calling "virNWFilterVarValueGetNthValue". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/nwfilter_params.c:157: deref_parm: Directly dereferencing parameter "val". > >Error: OVERRUN_STATIC: >/builddir/build/BUILD/libvirt-0.9.10/src/locking/lock_driver_sanlock.c:158: overrun-buffer-arg: Overrunning static array ""__LIBVIRT__DISKS__"" of size 19 bytes by passing it to a function which indexes it with argument "48UL" at byte position 47. > >Error: RESOURCE_LEAK: >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:419: open_fn: Calling opening function "socket". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:419: var_assign: Assigning: "fd" = handle returned from "socket(runp->ai_family, runp->ai_socktype, runp->ai_protocol)". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:425: noescape: Variable "fd" is not closed or saved in function "setsockopt". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:427: noescape: Variable "fd" is not closed or saved in function "connect". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:443: noescape: Variable "fd" is not closed or saved in function "getsockname". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:449: noescape: Variable "fd" is not closed or saved in function "getpeername". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:454: noescape: Variable "fd" is not closed or saved in function "virNetSocketNew". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:459: leaked_handle: Handle variable "fd" going out of scope leaks the handle. > >Error: RESOURCE_LEAK: >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:490: open_fn: Calling opening function "socket". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:490: var_assign: Assigning: "fd" = handle returned from "socket(1, 1, 0)". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:504: noescape: Variable "fd" is not closed or saved in function "connect". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:522: noescape: Variable "fd" is not closed or saved in function "getsockname". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:527: noescape: Variable "fd" is not closed or saved in function "virNetSocketNew". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:530: leaked_handle: Handle variable "fd" going out of scope leaks the handle. > >Error: RESOURCE_LEAK: >/builddir/build/BUILD/libvirt-0.9.10/src/esx/esx_vi.c:1893: alloc_arg: Calling allocation function "esxVI_ObjectSpec_Alloc" on "objectSpec". >/builddir/build/BUILD/libvirt-0.9.10/src/esx/esx_vi_types.generated.c:2065: alloc_arg: "esxVI_Alloc" allocates memory that is stored into "*ptrptr". >/builddir/build/BUILD/libvirt-0.9.10/src/esx/esx_vi.c:1626: alloc_arg: "virAllocN" allocates memory that is stored into "*ptrptr". >/builddir/build/BUILD/libvirt-0.9.10/src/util/memory.c:129: alloc_fn: Storage is returned from allocation function "calloc". >/builddir/build/BUILD/libvirt-0.9.10/src/util/memory.c:129: var_assign: Assigning: "*((void **)ptrptr)" = "calloc(count, size)". >/builddir/build/BUILD/libvirt-0.9.10/src/esx/esx_vi.c:2006: leaked_storage: Variable "objectSpec" going out of scope leaks the storage it points to. > >Error: RESOURCE_LEAK: >/builddir/build/BUILD/libvirt-0.9.10/src/esx/esx_vi.c:1945: alloc_arg: Calling allocation function "esxVI_PropertySpec_Alloc" on "propertySpec". >/builddir/build/BUILD/libvirt-0.9.10/src/esx/esx_vi_types.generated.c:2693: alloc_arg: "esxVI_Alloc" allocates memory that is stored into "*ptrptr". >/builddir/build/BUILD/libvirt-0.9.10/src/esx/esx_vi.c:1626: alloc_arg: "virAllocN" allocates memory that is stored into "*ptrptr". >/builddir/build/BUILD/libvirt-0.9.10/src/util/memory.c:129: alloc_fn: Storage is returned from allocation function "calloc". >/builddir/build/BUILD/libvirt-0.9.10/src/util/memory.c:129: var_assign: Assigning: "*((void **)ptrptr)" = "calloc(count, size)". >/builddir/build/BUILD/libvirt-0.9.10/src/esx/esx_vi.c:2006: leaked_storage: Variable "propertySpec" going out of scope leaks the storage it points to. > >Error: RESOURCE_LEAK: >/builddir/build/BUILD/libvirt-0.9.10/src/uml/uml_conf.c:351: open_fn: Calling opening function "open". >/builddir/build/BUILD/libvirt-0.9.10/src/uml/uml_conf.c:351: var_assign: Assigning: "fd_out" = handle returned from "open(def->source.data.file.path, 1089, 432)". >/builddir/build/BUILD/libvirt-0.9.10/src/uml/uml_conf.c:358: noescape: Variable "fd_out" is not freed or pointed-to in function "virAsprintf". >/builddir/build/BUILD/libvirt-0.9.10/src/uml/uml_conf.c:358: noescape: Variable "fd_out" is not closed or saved in function "virAsprintf". >/builddir/build/BUILD/libvirt-0.9.10/src/uml/uml_conf.c:363: noescape: Variable "fd_out" is not closed or saved in function "virCommandTransferFD". >/builddir/build/BUILD/libvirt-0.9.10/src/uml/uml_conf.c:364: leaked_handle: Handle variable "fd_out" going out of scope leaks the handle. > >Error: RESOURCE_LEAK: >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:523: alloc_fn: Calling allocation function "fopen". >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:523: var_assign: Assigning: "fd" = storage returned from "fopen(local_file, "rb")". >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:540: noescape: Variable "fd" is not freed or pointed-to in function "fread". >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:542: noescape: Variable "fd" is not freed or pointed-to in function "feof". >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:575: leaked_storage: Variable "fd" going out of scope leaks the storage it points to. >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:585: leaked_storage: Variable "fd" going out of scope leaks the storage it points to. > >Error: RESOURCE_LEAK: >/builddir/build/BUILD/libvirt-0.9.10/src/fdstream.c:589: open_fn: Calling opening function "open". >/builddir/build/BUILD/libvirt-0.9.10/src/fdstream.c:589: var_assign: Assigning: "fd" = handle returned from "open(path, oflags, mode)". >/builddir/build/BUILD/libvirt-0.9.10/src/fdstream.c:599: noescape: Variable "fd" is not closed or saved in function "fstat". >/builddir/build/BUILD/libvirt-0.9.10/src/fdstream.c:606: noescape: Variable "fd" is not closed or saved in function "lseek". >/builddir/build/BUILD/libvirt-0.9.10/src/fdstream.c:641: noescape: Variable "fd" is not closed or saved in function "virCommandTransferFD". >/builddir/build/BUILD/libvirt-0.9.10/src/fdstream.c:642: noescape: Variable "fd" is not closed or saved in function "virCommandAddArgFormat". >/builddir/build/BUILD/libvirt-0.9.10/src/fdstream.c:642: noescape: Variable "fd" is not freed or pointed-to in function "virCommandAddArgFormat". >/builddir/build/BUILD/libvirt-0.9.10/src/fdstream.c:650: overwrite_var: Overwriting handle "fd" in call "fd = fds[1]" leaks the handle. > >Error: RESOURCE_LEAK: >/builddir/build/BUILD/libvirt-0.9.10/src/fdstream.c:591: open_fn: Calling opening function "open". >/builddir/build/BUILD/libvirt-0.9.10/src/fdstream.c:591: var_assign: Assigning: "fd" = handle returned from "open(path, oflags)". >/builddir/build/BUILD/libvirt-0.9.10/src/fdstream.c:599: noescape: Variable "fd" is not closed or saved in function "fstat". >/builddir/build/BUILD/libvirt-0.9.10/src/fdstream.c:606: noescape: Variable "fd" is not closed or saved in function "lseek". >/builddir/build/BUILD/libvirt-0.9.10/src/fdstream.c:641: noescape: Variable "fd" is not closed or saved in function "virCommandTransferFD". >/builddir/build/BUILD/libvirt-0.9.10/src/fdstream.c:642: noescape: Variable "fd" is not closed or saved in function "virCommandAddArgFormat". >/builddir/build/BUILD/libvirt-0.9.10/src/fdstream.c:642: noescape: Variable "fd" is not freed or pointed-to in function "virCommandAddArgFormat". >/builddir/build/BUILD/libvirt-0.9.10/src/fdstream.c:646: overwrite_var: Overwriting handle "fd" in call "fd = fds[0]" leaks the handle. > >Error: RESOURCE_LEAK: >/builddir/build/BUILD/libvirt-0.9.10/src/fdstream.c:591: open_fn: Calling opening function "open". >/builddir/build/BUILD/libvirt-0.9.10/src/fdstream.c:591: var_assign: Assigning: "fd" = handle returned from "open(path, oflags)". >/builddir/build/BUILD/libvirt-0.9.10/src/fdstream.c:599: noescape: Variable "fd" is not closed or saved in function "fstat". >/builddir/build/BUILD/libvirt-0.9.10/src/fdstream.c:606: noescape: Variable "fd" is not closed or saved in function "lseek". >/builddir/build/BUILD/libvirt-0.9.10/src/fdstream.c:641: noescape: Variable "fd" is not closed or saved in function "virCommandTransferFD". >/builddir/build/BUILD/libvirt-0.9.10/src/fdstream.c:642: noescape: Variable "fd" is not closed or saved in function "virCommandAddArgFormat". >/builddir/build/BUILD/libvirt-0.9.10/src/fdstream.c:642: noescape: Variable "fd" is not freed or pointed-to in function "virCommandAddArgFormat". >/builddir/build/BUILD/libvirt-0.9.10/src/fdstream.c:650: overwrite_var: Overwriting handle "fd" in call "fd = fds[1]" leaks the handle. > >Error: RESOURCE_LEAK: >/builddir/build/BUILD/libvirt-0.9.10/src/esx/esx_vi.c:3913: alloc_arg: Calling allocation function "esxVI_ObjectSpec_Alloc" on "objectSpec". >/builddir/build/BUILD/libvirt-0.9.10/src/esx/esx_vi_types.generated.c:2065: alloc_arg: "esxVI_Alloc" allocates memory that is stored into "*ptrptr". >/builddir/build/BUILD/libvirt-0.9.10/src/esx/esx_vi.c:1626: alloc_arg: "virAllocN" allocates memory that is stored into "*ptrptr". >/builddir/build/BUILD/libvirt-0.9.10/src/util/memory.c:129: alloc_fn: Storage is returned from allocation function "calloc". >/builddir/build/BUILD/libvirt-0.9.10/src/util/memory.c:129: var_assign: Assigning: "*((void **)ptrptr)" = "calloc(count, size)". >/builddir/build/BUILD/libvirt-0.9.10/src/esx/esx_vi.c:4075: leaked_storage: Variable "objectSpec" going out of scope leaks the storage it points to. > >Error: RESOURCE_LEAK: >/builddir/build/BUILD/libvirt-0.9.10/src/esx/esx_vi.c:3920: alloc_arg: Calling allocation function "esxVI_PropertySpec_Alloc" on "propertySpec". >/builddir/build/BUILD/libvirt-0.9.10/src/esx/esx_vi_types.generated.c:2693: alloc_arg: "esxVI_Alloc" allocates memory that is stored into "*ptrptr". >/builddir/build/BUILD/libvirt-0.9.10/src/esx/esx_vi.c:1626: alloc_arg: "virAllocN" allocates memory that is stored into "*ptrptr". >/builddir/build/BUILD/libvirt-0.9.10/src/util/memory.c:129: alloc_fn: Storage is returned from allocation function "calloc". >/builddir/build/BUILD/libvirt-0.9.10/src/util/memory.c:129: var_assign: Assigning: "*((void **)ptrptr)" = "calloc(count, size)". >/builddir/build/BUILD/libvirt-0.9.10/src/esx/esx_vi.c:4075: leaked_storage: Variable "propertySpec" going out of scope leaks the storage it points to. > >Error: RESOURCE_LEAK: >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:324: open_fn: Calling opening function "socket". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:324: var_assign: Assigning: "fd" = handle returned from "socket(1, 1, 0)". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:342: noescape: Variable "fd" is not closed or saved in function "bind". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:361: noescape: Variable "fd" is not closed or saved in function "virNetSocketNew". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:364: leaked_handle: Handle variable "fd" going out of scope leaks the handle. > >Error: RESOURCE_LEAK: >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:224: open_fn: Calling opening function "socket". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:224: var_assign: Assigning: "fd" = handle returned from "socket(runp->ai_family, runp->ai_socktype, runp->ai_protocol)". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:231: noescape: Variable "fd" is not closed or saved in function "setsockopt". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:246: noescape: Variable "fd" is not closed or saved in function "setsockopt". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:255: noescape: Variable "fd" is not closed or saved in function "bind". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:267: noescape: Variable "fd" is not closed or saved in function "getsockname". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:279: noescape: Variable "fd" is not closed or saved in function "virNetSocketNew". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetsocket.c:282: overwrite_var: Overwriting handle "fd" in call "fd = -1" leaks the handle. > >Error: RESOURCE_LEAK: >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2270: alloc_fn: Calling allocation function "phypStoragePoolLookupByName". >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2254: alloc_fn: Storage is returned from allocation function "virGetStoragePool". >/builddir/build/BUILD/libvirt-0.9.10/src/datatypes.c:592: alloc_arg: "virAlloc" allocates memory that is stored into "ret". >/builddir/build/BUILD/libvirt-0.9.10/src/util/memory.c:101: alloc_fn: Storage is returned from allocation function "calloc". >/builddir/build/BUILD/libvirt-0.9.10/src/util/memory.c:101: var_assign: Assigning: "*((void **)ptrptr)" = "calloc(1UL, size)". >/builddir/build/BUILD/libvirt-0.9.10/src/datatypes.c:610: return_alloc: Returning allocated memory "ret". >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2254: return_alloc_fn: Directly returning storage allocated by "virGetStoragePool". >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2270: var_assign: Assigning: "sp" = storage returned from "phypStoragePoolLookupByName(vol->conn, vol->pool)". >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2324: leaked_storage: Variable "sp" going out of scope leaks the storage it points to. >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2327: leaked_storage: Variable "sp" going out of scope leaks the storage it points to. > >Error: RESOURCE_LEAK: >/builddir/build/BUILD/libvirt-0.9.10/src/uml/uml_driver.c:325: alloc_fn: Calling allocation function "virDomainEventNewFromObj". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_event.c:723: alloc_fn: Storage is returned from allocation function "virDomainEventNewFromDef". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_event.c:728: alloc_fn: Storage is returned from allocation function "virDomainEventNew". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_event.c:705: alloc_fn: Storage is returned from allocation function "virDomainEventNewInternal". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_event.c:684: alloc_arg: "virAlloc" allocates memory that is stored into "event". >/builddir/build/BUILD/libvirt-0.9.10/src/util/memory.c:101: alloc_fn: Storage is returned from allocation function "calloc". >/builddir/build/BUILD/libvirt-0.9.10/src/util/memory.c:101: var_assign: Assigning: "*((void **)ptrptr)" = "calloc(1UL, size)". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_event.c:698: return_alloc: Returning allocated memory "event". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_event.c:705: var_assign: Assigning: "event" = "virDomainEventNewInternal(0, id, name, uuid)". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_event.c:713: return_alloc: Returning allocated memory "event". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_event.c:728: return_alloc_fn: Directly returning storage allocated by "virDomainEventNew". >/builddir/build/BUILD/libvirt-0.9.10/src/conf/domain_event.c:723: return_alloc_fn: Directly returning storage allocated by "virDomainEventNewFromDef". >/builddir/build/BUILD/libvirt-0.9.10/src/uml/uml_driver.c:325: var_assign: Assigning: "event" = storage returned from "virDomainEventNewFromObj(dom, 5, 0)". >/builddir/build/BUILD/libvirt-0.9.10/src/uml/uml_driver.c:325: overwrite_var: Overwriting "event" in call "event = virDomainEventNewFromObj(dom, 5, 0)" leaks the storage that "event" points to. > >Error: RESOURCE_LEAK: >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2088: alloc_fn: Calling allocation function "phypVolumeLookupByName". >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2026: alloc_fn: Storage is returned from allocation function "virGetStorageVol". >/builddir/build/BUILD/libvirt-0.9.10/src/datatypes.c:724: alloc_arg: "virAlloc" allocates memory that is stored into "ret". >/builddir/build/BUILD/libvirt-0.9.10/src/util/memory.c:101: alloc_fn: Storage is returned from allocation function "calloc". >/builddir/build/BUILD/libvirt-0.9.10/src/util/memory.c:101: var_assign: Assigning: "*((void **)ptrptr)" = "calloc(1UL, size)". >/builddir/build/BUILD/libvirt-0.9.10/src/datatypes.c:753: return_alloc: Returning allocated memory "ret". >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2026: var_assign: Assigning: "vol" = "virGetStorageVol(pool->conn, pool->name, volname, key)". >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2030: return_alloc: Returning allocated memory "vol". >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2088: leaked_storage: Failing to save storage allocated by "phypVolumeLookupByName(pool, voldef->name)" leaks it. > >Error: RESOURCE_LEAK: >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2725: alloc_fn: Calling allocation function "phypGetStoragePoolLookUpByUUID". >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2689: alloc_fn: Storage is returned from allocation function "virGetStoragePool". >/builddir/build/BUILD/libvirt-0.9.10/src/datatypes.c:592: alloc_arg: "virAlloc" allocates memory that is stored into "ret". >/builddir/build/BUILD/libvirt-0.9.10/src/util/memory.c:101: alloc_fn: Storage is returned from allocation function "calloc". >/builddir/build/BUILD/libvirt-0.9.10/src/util/memory.c:101: var_assign: Assigning: "*((void **)ptrptr)" = "calloc(1UL, size)". >/builddir/build/BUILD/libvirt-0.9.10/src/datatypes.c:610: return_alloc: Returning allocated memory "ret". >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2689: var_assign: Assigning: "sp" = "virGetStoragePool(conn, pools[i], uuid)". >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2694: return_alloc: Returning allocated memory "sp". >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2725: leaked_storage: Failing to save storage allocated by "phypGetStoragePoolLookUpByUUID(conn, def->uuid)" leaks it. > >Error: RESOURCE_LEAK: >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2719: alloc_fn: Calling allocation function "phypStoragePoolLookupByName". >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2254: alloc_fn: Storage is returned from allocation function "virGetStoragePool". >/builddir/build/BUILD/libvirt-0.9.10/src/datatypes.c:592: alloc_arg: "virAlloc" allocates memory that is stored into "ret". >/builddir/build/BUILD/libvirt-0.9.10/src/util/memory.c:101: alloc_fn: Storage is returned from allocation function "calloc". >/builddir/build/BUILD/libvirt-0.9.10/src/util/memory.c:101: var_assign: Assigning: "*((void **)ptrptr)" = "calloc(1UL, size)". >/builddir/build/BUILD/libvirt-0.9.10/src/datatypes.c:610: return_alloc: Returning allocated memory "ret". >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2254: return_alloc_fn: Directly returning storage allocated by "virGetStoragePool". >/builddir/build/BUILD/libvirt-0.9.10/src/phyp/phyp_driver.c:2719: leaked_storage: Failing to save storage allocated by "phypStoragePoolLookupByName(conn, def->name)" leaks it. > >Error: RETURN_LOCAL: >/builddir/build/BUILD/libvirt-0.9.10/gnulib/lib/careadlinkat.c:99: local_ptr_assign_local: Assigning: "buffer" = "stack_buf" (address of local variable "stack_buf"). >/builddir/build/BUILD/libvirt-0.9.10/gnulib/lib/careadlinkat.c:103: local_ptr_assign_ptr: Assigning: "buf" = "buffer". >/builddir/build/BUILD/libvirt-0.9.10/gnulib/lib/careadlinkat.c:150: return_local_addr_alias: Returning pointer "buf" which points to local variable "stack_buf". > >Error: REVERSE_INULL: >/builddir/build/BUILD/libvirt-0.9.10/src/xen/xen_hypervisor.c:3303: deref_ptr: Directly dereferencing pointer "domain->conn". >/builddir/build/BUILD/libvirt-0.9.10/src/xen/xen_hypervisor.c:3308: check_after_deref: Dereferencing "domain->conn" before a null check. > >Error: REVERSE_INULL: >/builddir/build/BUILD/libvirt-0.9.10/src/vbox/vbox_tmpl.c:1884: deref_ptr_in_call: Dereferencing pointer "machineName". >/builddir/build/BUILD/libvirt-0.9.10/src/vbox/vbox_tmpl.c:1943: check_after_deref: Dereferencing "machineName" before a null check. > >Error: REVERSE_INULL: >/builddir/build/BUILD/libvirt-0.9.10/src/vbox/vbox_tmpl.c:1884: deref_ptr_in_call: Dereferencing pointer "machineName". >/builddir/build/BUILD/libvirt-0.9.10/src/vbox/vbox_tmpl.c:1943: check_after_deref: Dereferencing "machineName" before a null check. > >Error: REVERSE_INULL: >/builddir/build/BUILD/libvirt-0.9.10/src/vbox/vbox_tmpl.c:1388: deref_ptr_in_call: Dereferencing pointer "machineNameUtf8". >/builddir/build/BUILD/libvirt-0.9.10/src/vbox/vbox_tmpl.c:1413: check_after_deref: Dereferencing "machineNameUtf8" before a null check. > >Error: REVERSE_INULL: >/builddir/build/BUILD/libvirt-0.9.10/src/vbox/vbox_tmpl.c:1388: deref_ptr_in_call: Dereferencing pointer "machineNameUtf8". >/builddir/build/BUILD/libvirt-0.9.10/src/vbox/vbox_tmpl.c:1413: check_after_deref: Dereferencing "machineNameUtf8" before a null check. > >Error: REVERSE_INULL: >/builddir/build/BUILD/libvirt-0.9.10/src/vbox/vbox_tmpl.c:1388: deref_ptr_in_call: Dereferencing pointer "machineNameUtf8". >/builddir/build/BUILD/libvirt-0.9.10/src/vbox/vbox_tmpl.c:1413: check_after_deref: Dereferencing "machineNameUtf8" before a null check. > >Error: REVERSE_INULL: >/builddir/build/BUILD/libvirt-0.9.10/src/vbox/vbox_tmpl.c:1388: deref_ptr_in_call: Dereferencing pointer "machineNameUtf8". >/builddir/build/BUILD/libvirt-0.9.10/src/vbox/vbox_tmpl.c:1413: check_after_deref: Dereferencing "machineNameUtf8" before a null check. > >Error: REVERSE_INULL: >/builddir/build/BUILD/libvirt-0.9.10/src/vbox/vbox_tmpl.c:1884: deref_ptr_in_call: Dereferencing pointer "machineName". >/builddir/build/BUILD/libvirt-0.9.10/src/vbox/vbox_tmpl.c:1943: check_after_deref: Dereferencing "machineName" before a null check. > >Error: REVERSE_INULL: >/builddir/build/BUILD/libvirt-0.9.10/src/vbox/vbox_tmpl.c:1884: deref_ptr_in_call: Dereferencing pointer "machineName". >/builddir/build/BUILD/libvirt-0.9.10/src/vbox/vbox_tmpl.c:1943: check_after_deref: Dereferencing "machineName" before a null check. > >Error: REVERSE_INULL: >/builddir/build/BUILD/libvirt-0.9.10/src/vbox/vbox_tmpl.c:1388: deref_ptr_in_call: Dereferencing pointer "machineNameUtf8". >/builddir/build/BUILD/libvirt-0.9.10/src/vbox/vbox_tmpl.c:1413: check_after_deref: Dereferencing "machineNameUtf8" before a null check. > >Error: REVERSE_INULL: >/builddir/build/BUILD/libvirt-0.9.10/src/vbox/vbox_tmpl.c:1388: deref_ptr_in_call: Dereferencing pointer "machineNameUtf8". >/builddir/build/BUILD/libvirt-0.9.10/src/vbox/vbox_tmpl.c:1413: check_after_deref: Dereferencing "machineNameUtf8" before a null check. > >Error: REVERSE_INULL: >/builddir/build/BUILD/libvirt-0.9.10/src/vbox/vbox_tmpl.c:1884: deref_ptr_in_call: Dereferencing pointer "machineName". >/builddir/build/BUILD/libvirt-0.9.10/src/vbox/vbox_tmpl.c:1943: check_after_deref: Dereferencing "machineName" before a null check. > >Error: REVERSE_INULL: >/builddir/build/BUILD/libvirt-0.9.10/src/libxl/libxl_driver.c:145: deref_ptr: Directly dereferencing pointer "vm". >/builddir/build/BUILD/libvirt-0.9.10/src/libxl/libxl_driver.c:153: check_after_deref: Dereferencing "vm" before a null check. > >Error: REVERSE_INULL: >/builddir/build/BUILD/libvirt-0.9.10/src/vbox/vbox_tmpl.c:1884: deref_ptr_in_call: Dereferencing pointer "machineName". >/builddir/build/BUILD/libvirt-0.9.10/src/vbox/vbox_tmpl.c:1943: check_after_deref: Dereferencing "machineName" before a null check. > >Error: SIGN_EXTENSION: >/builddir/build/BUILD/libvirt-0.9.10/src/xen/xen_hypervisor.c:1799: sign_extension: Suspicious implicit sign extension: "cpumap[j]" with type "unsigned char" (8 bits, unsigned) is promoted in "cpumap[j] << 8 * (j & 7)" to type "int" (32 bits, signed), then sign-extended to type "unsigned long" (64 bits, unsigned). If "cpumap[j] << 8 * (j & 7)" is greater than 0x7FFFFFFF, the upper bits of the result will all be 1. > >Error: UNINIT: >/builddir/build/BUILD/libvirt-0.9.10/src/lxc/lxc_driver.c:1395: var_decl: Declaring variable "fd" without initializer. >/builddir/build/BUILD/libvirt-0.9.10/src/lxc/lxc_driver.c:1443: uninit_use_in_call: Using uninitialized value "fd" when calling "virFileClose". >/builddir/build/BUILD/libvirt-0.9.10/src/util/virfile.c:50: read_parm: Reading a parameter value. > >Error: UNINIT: >/builddir/build/BUILD/libvirt-0.9.10/src/lxc/lxc_controller.c:1104: var_decl: Declaring variable "consoles" without initializer. >/builddir/build/BUILD/libvirt-0.9.10/src/lxc/lxc_controller.c:1237: uninit_use: Using uninitialized value "consoles". > >Error: UNINIT: >/builddir/build/BUILD/libvirt-0.9.10/src/libxl/libxl_driver.c:1829: var_decl: Declaring variable "fd" without initializer. >/builddir/build/BUILD/libvirt-0.9.10/src/libxl/libxl_driver.c:1892: uninit_use_in_call: Using uninitialized value "fd" when calling "virFileClose". >/builddir/build/BUILD/libvirt-0.9.10/src/util/virfile.c:50: read_parm: Reading a parameter value. > >Error: UNINIT: >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetserver.c:283: var_decl: Declaring variable "sig_action" without initializer. >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetserver.c:297: uninit_use_in_call: Using uninitialized value "sig_action.sa_flags" when calling "sigaction". >/builddir/build/BUILD/libvirt-0.9.10/src/rpc/virnetserver.c:297: uninit_use_in_call: Using uninitialized value "sig_action.sa_mask": field "sig_action.sa_mask".__val is uninitialized when calling "sigaction".
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 771021
:
550104
|
551582
|
556536
|
559606
|
561770
|
569956
|
577032
|
578527
|
583201
| 584630 |
584879