ASoC: Use strlcpy() for copying in snd_soc_info_enum_double()
authorTakashi Iwai <tiwai@suse.de>
Mon, 28 Oct 2013 13:21:46 +0000 (14:21 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 31 Oct 2013 17:57:47 +0000 (10:57 -0700)
commita19685cb72bb6a80ac453e76b3ab3bb7770e1742
tree54d0e30193d6251517a7b1d474533b9d741edcca
parent6833c452c2fb47353566aa705d68541c6045c796
ASoC: Use strlcpy() for copying in snd_soc_info_enum_double()

The provided texts aren't guaranteed to be in the fixed size.
Spotted by coverity CID 139318.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-core.c