Skip to content
Commit 4126af6c authored by Prakash Gupta's avatar Prakash Gupta
Browse files

ion: ion_system_heap: Fix null pointer dereference



The pointer returned from alloc_pages passed unchecked to
ion_pages_sync_for_device.
This patch checks the return for NULL.

Change-Id: I407efc73a1e1297f382a7926cc79542bde88d06d
Fixes: 2d4fdc7bde46 ("ion: Fix DMA operations for ARM64")
Signed-off-by: default avatarPrakash Gupta <guptap@codeaurora.org>
parent fb7d0fd0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment