Coverity CID 146454: pcie_bus_configure_settings() use of uninitialized variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Coverity complains that "smpss" is used uninitialized in
drivers/pci/probe.c in pcie_bus_configure_settings() when calling
pcie_bus_configure_set():

1642        pcie_bus_configure_set(bus->self, &smpss);
1643        pci_walk_bus(bus, pcie_bus_configure_set, &smpss);

"smpss" may be uninitialized, and pcie_bus_configure_set()
dereferences the pointer it receives.

This is CID 146454.

Bjorn
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux