]> git.baikalelectronics.ru Git - kernel.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)
commit05d7976f799ce0823af881299d76f5f91a9a7aca
treed428b8eb301cc0a5125eb0af65eeb21b82255343
parent0750ac4beb5ac53be2a2d284b20d41cb6b122959
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