diff options
author | Chen Gang <gang.chen@asianux.com> | 2013-02-25 16:51:49 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-03-05 16:56:27 +1100 |
commit | 6b6680c4ea3952af8ae76915cbca41245147741b (patch) | |
tree | 3863f55ebb6a7f1c49830337c7a8aa52443c54a8 /drivers/tty/hvc/hvcs.c | |
parent | 27777890d0fae55d14ef18791fc7994faf1bc867 (diff) | |
download | blackbird-op-linux-6b6680c4ea3952af8ae76915cbca41245147741b.tar.gz blackbird-op-linux-6b6680c4ea3952af8ae76915cbca41245147741b.zip |
powerpc/pseries/hvcserver: Fix strncpy buffer limit in location code
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>
Diffstat (limited to 'drivers/tty/hvc/hvcs.c')
0 files changed, 0 insertions, 0 deletions