OSDN Git Service

msm: mdss: Fix potential null pointer dereference
authorraghavendra ambadas <rambad@codeaurora.org>
Mon, 8 Oct 2018 09:16:33 +0000 (14:46 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Tue, 9 Oct 2018 11:32:02 +0000 (04:32 -0700)
commit41a86ae25e77157069fe8d3a5845d6fc1c4aca1f
treec0e0b127682219730e6d84aef94b0550d808ad27
parent3b8fc0b7a3fcc809378d82dbf66b417e186af205
msm: mdss: Fix potential null pointer dereference

Add NULL checks before accessing potential null pointers.

Change-Id: Ibdecaa7664c21a0acf57a3dd2c473f7407520f6b
Signed-off-by: Raghavendra Ambadas <rambad@codeaurora.org>
drivers/video/fbdev/msm/mdss_mdp_overlay.c