diff options
author | Rickard Strandqvist <[email protected]> | 2014-07-27 16:57:42 +0200 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2014-07-30 07:49:36 -0400 |
commit | 4d0a21f1fd31adb3ec66db4c1af3856ae0b8549f (patch) | |
tree | c3c54a8e54c6c5504b79c77d1f37d29aa1821b97 /net/lapb/lapb_subr.c | |
parent | bdbb9662f7b18197cadb729f1d97e5646546179a (diff) |
scsi: qla4xxx: ql4_mbx.c: Cleaning up missing null-terminate in conjunction with strncpy
Replacing strncpy with strlcpy to avoid strings that lacks null terminate.
And in some cases modified to copy one character less than the overall
length, as the entire area is already zeroed.
Signed-off-by: Rickard Strandqvist <[email protected]>
Acked-By: Nilesh Javali <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions