aboutsummaryrefslogtreecommitdiff
path: root/scripts/dtc/libfdt/fdt_strerror.c
diff options
context:
space:
mode:
authorShyam Iyer <[email protected]>2011-09-08 16:41:17 -0500
committerLinus Torvalds <[email protected]>2011-09-09 19:49:58 -0700
commit5307f6d5fb12fd01f9f321bc4a8fd77e74858647 (patch)
treefa0087ac08c4a914e8c3456741d57ddf27534b9a /scripts/dtc/libfdt/fdt_strerror.c
parenta6a5ed0dd36b4977789e888170f96840cc8b4501 (diff)
Fix pointer dereference before call to pcie_bus_configure_settings
Commit b03e7495a862 ("PCI: Set PCI-E Max Payload Size on fabric") introduced a potential NULL pointer dereference in calls to pcie_bus_configure_settings due to attempts to access pci_bus self variables when the self pointer is NULL. To correct this, verify that the self pointer in pci_bus is non-NULL before dereferencing it. Reported-by: Stanislaw Gruszka <[email protected]> Signed-off-by: Shyam Iyer <[email protected]> Signed-off-by: Jon Mason <[email protected]> Acked-by: Jesse Barnes <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/dtc/libfdt/fdt_strerror.c')
0 files changed, 0 insertions, 0 deletions