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

Commit b9871629 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 overflow while copying config id"

parents a4165c57 e5d9a825
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2679,7 +2679,7 @@ static struct device_node *mdss_dsi_find_panel_of_node(
				str1 = strnchr(str2, strlen(str2), ':');
				if (str1) {
					for (i = 0; ((str2 + i) < str1) &&
					     i < MDSS_MAX_PANEL_LEN; i++)
					     i < (MDSS_MAX_PANEL_LEN - 1); i++)
						cfg_np_name[i] = *(str2 + i);
					if ((i >= 0)
						&& (i < MDSS_MAX_PANEL_LEN))