summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDhaval Patel <pdhaval@codeaurora.org>2014-05-14 16:28:19 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:30:02 -0700
commit0c5fe51e41ff40d5ab2ebae9d79ff66eb8777a35 (patch)
tree307c9da8c76fc968a2f544add24b4e6d5d73e295 /include/linux
parent5672e82ee79059389742cd6464b9f6e93e1fc6a6 (diff)
mdss: mdp: prevent null pointer dereference in mixer width calculation
Frame buffer releases all allocated control nodes by calling blank when its reference count reaches to zero. In error case, caller might call prepare ioctl and lead to null pointer dereference to calculate the layer mixer width. A null condition check prevents such dereferencing call. CRs-fixed: 664517 Change-Id: I3b65b48a67ab2efb9654457ca7901da6ef0d57be Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions