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:
c97847d
)
perf: Fix strncpy() use, use strlcpy() instead of strncpy()
author
Chen Gang
<gang.chen@asianux.com>
Mon, 8 Apr 2013 04:06:44 +0000
(12:06 +0800)
committer
Ingo Molnar
<mingo@kernel.org>
Mon, 8 Apr 2013 11:26:56 +0000
(13:26 +0200)
For NUL terminated string we always need to set '\0' at the end.
Signed-off-by: Chen Gang <gang.chen@asianux.com>
Cc: rostedt@goodmis.org
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Link:
http://lkml.kernel.org/r/51624254.30301@asianux.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
No differences found