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:
2777789
)
powerpc/pseries/hvcserver: Fix strncpy buffer limit in location code
author
Chen Gang
<gang.chen@asianux.com>
Mon, 25 Feb 2013 16:51:49 +0000
(16:51 +0000)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Tue, 5 Mar 2013 05:56:27 +0000
(16:56 +1100)
the dest buf len is 80 (HVCS_CLC_LENGTH + 1).
the src buf len is PAGE_SIZE.
if src buf string len is more than 80, it will cause issue.
Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
No differences found