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

Commit 03c2e17b authored by Jayant Shekhar's avatar Jayant Shekhar
Browse files

msm: mdss: Fix potential NULL pointer dereference in misr set



If control setup is not done and if userspace calls misr set
via metadata ioctl, then there can be a potential NULL pointer
deference as mixer might be NULL. Add a check to validate if
mixer is not NULL.

Change-Id: I92f5778788cfcce6fa01a038b4321222a8804f28
Signed-off-by: default avatarJayant Shekhar <jshekhar@codeaurora.org>
parent 18d1d8ef
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