kernel-fxtec-pro1x/drivers/tty/hvc
Chen Gang 9276dfd278 drivers/tty/hvc: Use strlcpy instead of strncpy
when strlen pi->location_code is larger than HVCS_CLC_LENGTH + 1,
    original implementation can not let hvcsd->p_location_code NUL terminated.
  so need fix it (also can simplify the code)

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-03-05 16:56:27 +11:00
..
hvc_beat.c
hvc_bfin_jtag.c
hvc_console.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
hvc_console.h TTY: HVC, use count from tty_port 2012-04-09 11:28:18 -07:00
hvc_dcc.c
hvc_irq.c
hvc_iucv.c
hvc_opal.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2012-12-13 12:00:02 -08:00
hvc_rtas.c
hvc_tile.c
hvc_udbg.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2012-03-21 18:55:10 -07:00
hvc_vio.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2012-12-13 12:00:02 -08:00
hvc_xen.c xen: introduce xen_remap, use it instead of ioremap 2013-02-19 22:02:34 -05:00
hvcs.c drivers/tty/hvc: Use strlcpy instead of strncpy 2013-03-05 16:56:27 +11:00
hvsi.c TTY: hvsi: use for_each_compatible_node() macro 2013-01-15 23:00:43 -08:00
hvsi_lib.c tty: move the termios object into the tty 2012-07-16 13:00:41 -07:00
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile