Loading drivers/video/msm/mdss/mdss_dsi_panel.c +1 −1 Original line number Diff line number Diff line Loading @@ -333,7 +333,7 @@ static int mdss_dsi_parse_dcs_cmds(struct device_node *np, bp = buf; len = blen; cnt = 0; while (len > sizeof(*dchdr)) { while (len >= sizeof(*dchdr)) { dchdr = (struct dsi_ctrl_hdr *)bp; dchdr->dlen = ntohs(dchdr->dlen); if (dchdr->dlen > len) { Loading Loading
drivers/video/msm/mdss/mdss_dsi_panel.c +1 −1 Original line number Diff line number Diff line Loading @@ -333,7 +333,7 @@ static int mdss_dsi_parse_dcs_cmds(struct device_node *np, bp = buf; len = blen; cnt = 0; while (len > sizeof(*dchdr)) { while (len >= sizeof(*dchdr)) { dchdr = (struct dsi_ctrl_hdr *)bp; dchdr->dlen = ntohs(dchdr->dlen); if (dchdr->dlen > len) { Loading