commit | 8e64aedf80ae14b852abc0d7ca262530b69e9a18 | [log] [tgz] |
---|---|---|
author | Jie Yang <yang.jie@intel.com> | Tue Apr 07 20:14:59 2015 +0800 |
committer | Mark Brown <broonie@kernel.org> | Wed Apr 08 11:17:51 2015 +0100 |
tree | c07376cf906120cdfefd7f766e3af21d560aa2a6 | |
parent | f34c4bc7e599bb895f77381c4d91ccc77635d68f [diff] |
ASoC: Intel: Fix a buffer overflow issue 0day robot reported a buffer overflow issue: ... sound/soc/intel/haswell/sst-haswell-pcm.c:1107 hsw_pcm_probe() error: buffer\ overflow 'hsw_dais' 4 <= 4 sound/soc/intel/haswell/sst-haswell-pcm.c:1109 hsw_pcm_probe() error: buffer\ overflow 'hsw_dais' 4 <= 4 ... Fix it by initializing the index(i) to correct value. Signed-off-by: Jie Yang <yang.jie@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>