Re: [PATCH] ASoC: soc-core: Replace use of strncpy() with strlcpy()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 06, 2010 at 03:42:17PM +0000, Dimitris Papastamos wrote:
> By using strncpy() if the source string does not have a null byte in the
> first n bytes, then the destination string is not null-terminated.
> This can be fixed in a two-step process by manually null-terminating the
> array after the use of strncpy() or by using strlcpy().

Applied, thanks.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux