[alsa-devel] [PATCH 3/5] ALSA: snd_usb_caiaq: use strncpy

Daniel Mack daniel at caiaq.de
Mon Jun 1 11:23:54 CEST 2009


On Mon, Jun 01, 2009 at 10:32:21AM +0200, Takashi Iwai wrote:
> > Signed-off-by: Daniel Mack <daniel at caiaq.de>
> 
> You should use strlcpy() instead of strncpy().  The latter doesn't
> terminate the oversized string.

Right. Want me to resend or could you do that on the fly while
commiting?

Daniel


More information about the Alsa-devel mailing list