git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdbb966
)
scsi: qla4xxx: ql4_mbx.c: Cleaning up missing null-terminate in conjunction with...
author
Rickard Strandqvist
<rickard_strandqvist@spectrumdigital.se>
Sun, 27 Jul 2014 14:57:42 +0000
(16:57 +0200)
committer
Christoph Hellwig
<hch@lst.de>
Wed, 30 Jul 2014 11:49:36 +0000
(07:49 -0400)
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 <rickard_strandqvist@spectrumdigital.se>
Acked-By: Nilesh Javali <nilesh.javali@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
No differences found