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

Commit f485287f authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Merge 00f847b2 on remote branch

Change-Id: Ie456b57e2df12f080da4ac525bb44c4601e4f154
parents 53af5447 00f847b2
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -2167,8 +2167,13 @@ static int msm_lsm_ioctl_compat(struct snd_pcm_substream *substream,
			prtd->lsm_client->get_param_payload = NULL;
			goto done;
		}
		if (__builtin_uadd_overflow(sizeof(p_info_32), p_info_32.param_size, &size)) {
			pr_err("%s: param size exceeds limit of %u bytes.\n",
				__func__, UINT_MAX);
			err = -EINVAL;
			goto done;
		}

		size = sizeof(p_info_32) + p_info_32.param_size;
		param_info_rsp = kzalloc(size, GFP_KERNEL);

		if (!param_info_rsp) {