commit | 2195d9690464445d0c30ee8170030a8e696f2053 | [log] [tgz] |
---|---|---|
author | Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> | Sun Jul 27 17:11:18 2014 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Fri Jan 09 15:44:21 2015 +0100 |
tree | 78b23c3ffd65f7a12bb14992231b92521a44ae12 | |
parent | acafd0b920e1a4a94a03f1911b4fb87e2081f235 [diff] |
3w-9xxx.c: Cleaning up missing null-terminate in conjunction with strncpy Replacing strncpy with strlcpy to avoid strings that lacks null terminate. And use the sizeof on the to string rather than strlen on the from string. Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> Acked-by: Adam Radford <aradford@gmail.com> Signed-off-by: Christoph Hellwig <hch@lst.de>