aboutsummaryrefslogtreecommitdiff
path: root/net/lapb
diff options
context:
space:
mode:
authorDimitris Papastamos <[email protected]>2010-12-06 15:42:17 +0000
committerMark Brown <[email protected]>2010-12-06 19:15:03 +0000
commit58818a77cd415e2f76607749de5a1ff24e58cefe (patch)
tree5634326deef453af237559346ac7a7214d7ee2b9 /net/lapb
parent589c3563f6476950f26b5bcc9beb1b39a7bcc644 (diff)
ASoC: soc-core: Replace use of strncpy() with strlcpy()
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(). Signed-off-by: Dimitris Papastamos <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions