diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-02-18 09:24:12 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-20 01:46:05 +0900 |
commit | 025c3fa9256d4c54506b7a29dc3befac54f5c68d (patch) | |
tree | f42c79248ca180f6d728a2625229bb7c1888f53f /lib/string.c | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) | |
download | linux-025c3fa9256d4c54506b7a29dc3befac54f5c68d.tar.bz2 |
ASoC: sta32x: Fix array access overflow
Preset EQ enum of sta32x codec driver declares too many number of
items and it may lead to the access over the actual array size.
Use SOC_ENUM_SINGLE_DECL() helper and it's automatically fixed.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions