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:
b902e57
)
b44: strncpy does not null terminate string
author
roel kluin
<roel.kluin@gmail.com>
Fri, 17 Jul 2009 08:01:54 +0000
(08:01 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 20 Jul 2009 15:02:58 +0000
(08:02 -0700)
strlcpy() will always null terminate the string. Also use the
sizeof(version) to strlcopy() the version string.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found