]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ALSA: Use strlcpy() instead of strncpy()
authorTakashi Iwai <tiwai@suse.de>
Tue, 29 Oct 2013 14:26:12 +0000 (15:26 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 29 Oct 2013 14:26:12 +0000 (15:26 +0100)
commit57a4451d26eef4ccbf3b32fd116295f001c18cb4
treed428b8eb301cc0a5125eb0af65eeb21b82255343
parent97f44f56ca94709f45bc348f5d2c88696eae5f9b
ALSA: Use strlcpy() instead of strncpy()

We tend to make stupid mistakes with strncpy().  Let's take a safer
one, strlcpy().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/arm/pxa2xx-ac97.c
sound/i2c/other/ak4xxx-adda.c
sound/pci/cs5535audio/cs5535audio_olpc.c
sound/pci/ice1712/psc724.c
sound/pci/ice1712/wm8776.c
sound/pci/rme9652/hdspm.c