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

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

Merge "drm/msm/dsi-staging: alter length to avoid stepping out of bounds" into dev/msm-4.14-display

parents 068d6b16 5230ade6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1134,7 +1134,7 @@ static ssize_t debugfs_misr_read(struct file *file,
		goto error;
	}

	if (copy_to_user(user_buf, buf, len)) {
	if (copy_to_user(user_buf, buf, max_len)) {
		rc = -EFAULT;
		goto error;
	}