Re: [PATCH 1/2] Fix pointer dereference before call to pcie_bus_configure_settings

From: Linus Torvalds
Date: Fri Sep 09 2011 - 22:51:17 EST


On Fri, Sep 9, 2011 at 5:59 PM, Jon Mason <mason@xxxxxxxx> wrote:
>
> There is 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.

Thanks,

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/