Input: fix potential overflows in driver/input/keyboard
authorDmitry Torokhov <dtor_core@ameritech.net>
Mon, 26 Jun 2006 05:46:17 +0000 (01:46 -0400)
committerDmitry Torokhov <dtor_core@ameritech.net>
Mon, 26 Jun 2006 05:46:17 +0000 (01:46 -0400)
commitea08c6faa0a8dc93b016663de55e49822ed0b33f
treea1cc8a448e87457c8f8ed45d5f9f430369eb4062
parenta21466cc77b25dc2afd1292c79c7fc8fd454a1a7
Input: fix potential overflows in driver/input/keyboard

Change all sprintfs into snprintfs to make sure we won't stomp on
data adjacent to our buffers.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/atkbd.c
drivers/input/keyboard/lkkbd.c
drivers/input/keyboard/newtonkbd.c
drivers/input/keyboard/sunkbd.c
drivers/input/keyboard/xtkbd.c