Input: fix potential overflows in driver/input/joystick
authorDmitry Torokhov <dtor_core@ameritech.net>
Mon, 26 Jun 2006 05:45:48 +0000 (01:45 -0400)
committerDmitry Torokhov <dtor_core@ameritech.net>
Mon, 26 Jun 2006 05:45:48 +0000 (01:45 -0400)
commit10ca4c0a622a942e55dc8a6d57ebd441089c9e38
treedcdb84833a46e80ff95fb73b0d1f83b737f3d2b9
parent08ffce4560e0133e10634b0dd85eecee11257a1c
Input: fix potential overflows in driver/input/joystick

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>
16 files changed:
drivers/input/joystick/a3d.c
drivers/input/joystick/analog.c
drivers/input/joystick/cobra.c
drivers/input/joystick/db9.c
drivers/input/joystick/gamecon.c
drivers/input/joystick/gf2k.c
drivers/input/joystick/grip.c
drivers/input/joystick/guillemot.c
drivers/input/joystick/interact.c
drivers/input/joystick/magellan.c
drivers/input/joystick/sidewinder.c
drivers/input/joystick/spaceball.c
drivers/input/joystick/spaceorb.c
drivers/input/joystick/stinger.c
drivers/input/joystick/twidjoy.c
drivers/input/joystick/warrior.c