Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/msm/sde: Fix NULL pointer dereferencing
Plane count maybe passed to sort function as argument without being checked against NULL value in crtc atomic check and blend setup mixer. Add check to use plane count as argument only when it has a valid value. Change-Id: Ibddd9a630fd5afe55c861975d5fce6985daf1401 Signed-off-by: Shubhashree Dhar <[email protected]>
- Loading branch information
20c5e69
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix is as well contained in: 00fcc39 and with
cnt > 0
it is even better than what we have here, so the commit should be omitted.