summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2017-07-04 10:05:30 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-07-04 10:05:30 -0700
commiteacfb14b9343fc53c8eeb52fe6735cb2ec77ba58 (patch)
tree9d9da7f724eaa9244289e5fac374637dd10f47ea /sound
parenta6e752c97fa01822b85f63d90fe46333122d2b50 (diff)
parent35f63de1e1251aa54445e1434981668c777d3b76 (diff)
Merge "ASoC: msm-cpe: Resolve memory out of bound access"
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/msm/msm-cpe-lsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/msm/msm-cpe-lsm.c b/sound/soc/msm/msm-cpe-lsm.c
index 48f8e22e7faa..2d431a018315 100644
--- a/sound/soc/msm/msm-cpe-lsm.c
+++ b/sound/soc/msm/msm-cpe-lsm.c
@@ -2672,7 +2672,7 @@ static int msm_cpe_lsm_ioctl_compat(struct snd_pcm_substream *substream,
event_status->payload_size;
memcpy(udata_32->payload,
event_status->payload,
- u_pld_size);
+ event_status->payload_size);
}
}