Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 94d8b9b7 authored by Shailendra Verma's avatar Shailendra Verma Committed by Liviu Dudau
Browse files

drm/arm/malidp: Fix possible dereference of NULL



There is possible deference of NULL pointer on return of
malidp_duplicate_plane_state() if kmalloc fails. Check the
returned kmalloc pointer before continuing.

Signed-off-by: default avatarShailendra Verma <Shailendra.v@samsung.com>
[cleaned up the code and re-formatted the commit message]
Signed-off-by: default avatarLiviu Dudau <Liviu.Dudau@arm.com>
parent f0493e65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment