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:
b6226b4
)
Documentation/accounting/getdelays.c: add missing null-terminate after strncpy call
author
Rickard Strandqvist
<rickard_strandqvist@spectrumdigital.se>
Mon, 23 Jun 2014 20:22:04 +0000
(13:22 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Mon, 23 Jun 2014 23:47:44 +0000
(16:47 -0700)
Added a guaranteed null-terminate after call to strncpy.
This was partly found using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
No differences found