Re: [PATCH] memory: renesas-rpc-if: fix possible NULL pointer dereference of resource

From: Krzysztof Kozlowski
Date: Tue Apr 13 2021 - 10:58:36 EST


On Wed, 7 Apr 2021 17:43:57 +0200, Krzysztof Kozlowski wrote:
> The platform_get_resource_byname() can return NULL which would be
> immediately dereferenced by resource_size(). Instead dereference it
> after validating the resource.

Applied, thanks!

[1/1] memory: renesas-rpc-if: fix possible NULL pointer dereference of resource
commit: 59e27d7c94aa02da039b000d33c304c179395801

Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx>