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

Commit ace73576 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: mdss: Fix potential dereferencing of null pointer"

parents 539f0433 ef8e3cd4
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3421,6 +3421,10 @@ int mdss_fb_atomic_commit(struct fb_info *info,
				MSMFB_ATOMIC_COMMIT, true, false);
			if (mfd->panel.type == WRITEBACK_PANEL) {
				output_layer = commit_v1->output_layer;
				if (!output_layer) {
					pr_err("Output layer is null\n");
					goto end;
				}
				wb_change = !mdss_fb_is_wb_config_same(mfd,
						commit_v1->output_layer);
				if (wb_change) {