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:
acafd0b
)
3w-9xxx.c: Cleaning up missing null-terminate in conjunction with strncpy
author
Rickard Strandqvist
<rickard_strandqvist@spectrumdigital.se>
Sun, 27 Jul 2014 15:11:18 +0000
(17:11 +0200)
committer
Christoph Hellwig
<hch@lst.de>
Fri, 9 Jan 2015 14:44:21 +0000
(15:44 +0100)
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>
drivers/scsi/3w-9xxx.c
patch
|
blob
|
history
diff --cc
drivers/scsi/3w-9xxx.c
Simple merge