Re: [PATCH] PCI: epf-mhi: Fix potential NULL dereference in pci_epf_mhi_bind()
From: Krzysztof Wilczyński
Date: Tue Nov 05 2024 - 12:38:59 EST
Hello,
> If platform_get_resource_byname() fails and returns NULL, dereferencing
> res->start will cause a NULL pointer access. Add a check to prevent it.
Applied to endpoint, thank you!
[01/01] PCI: endpoint: epf-mhi: Fix potential NULL dereference in pci_epf_mhi_bind()
https://git.kernel.org/pci/pci/c/ff977d1bf478
Krzysztof