All of lore.kernel.org
 help / color / mirror / Atom feed
* Coverity CID 146454: pcie_bus_configure_settings() use of uninitialized variable
@ 2014-04-03 16:09 Bjorn Helgaas
  2014-04-04  1:48 ` Yijing Wang
  0 siblings, 1 reply; 3+ messages in thread
From: Bjorn Helgaas @ 2014-04-03 16:09 UTC (permalink / raw)
  To: Jon Mason, Yijing Wang; +Cc: linux-pci@vger.kernel.org

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-29 23:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-03 16:09 Coverity CID 146454: pcie_bus_configure_settings() use of uninitialized variable Bjorn Helgaas
2014-04-04  1:48 ` Yijing Wang
2014-04-29 23:06   ` Bjorn Helgaas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.