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

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

Merge 3d5955a2 on remote branch

Change-Id: I58bd1c7ceece50921c0e72fdfa15a9baff06ea81
parents 899721bd 3d5955a2
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) {