Merge remote-tracking branch 'qcom_sm8250/lineage-20' into lineage-20

Change-Id: I8d0a8bc8101febe5e93dc2952f736080c5ee54c4
This commit is contained in:
Sebastiano Barezzi
2024-02-19 18:41:48 +01:00
256 changed files with 3698 additions and 1773 deletions

View File

@@ -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) {