diff options
author | Chen Gang <gang.chen@asianux.com> | 2013-01-20 17:36:02 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-20 15:50:36 -0800 |
commit | f8a2b220afef7699f7a90d97dbc2d8830979874e (patch) | |
tree | 65aa9a84d8ee0babccf6aa9934ca5a9a75261d6d /drivers/tty/tty_buffer.c | |
parent | 4f73bc4dd3e8563ef4109f293a092820dff66d92 (diff) |
drivers/tty/serial/8250: use strlcpy instead of strcpy
The fields must be null-terminated, or next printk for %s, will cause issue.
Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/tty_buffer.c')
0 files changed, 0 insertions, 0 deletions