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

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

Merge 00f847b2 on remote branch

Change-Id: I18028535f6ce06b86e4f0ccfabda9cd4bf3fe0f7
parents 19b27303 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) {