Input: fix potential overflows in driver/input/mouse
authorDmitry Torokhov <dtor_core@ameritech.net>
Mon, 26 Jun 2006 05:45:10 +0000 (01:45 -0400)
committerDmitry Torokhov <dtor_core@ameritech.net>
Mon, 26 Jun 2006 05:45:10 +0000 (01:45 -0400)
commit08ffce4560e0133e10634b0dd85eecee11257a1c
treeeff2a0266e0897e72e48db949fb28f367812222e
parent4854c7b27f0975a2b629f35ea3996d2968eb7c4f
Input: fix potential overflows in driver/input/mouse

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

Noticed by Wouter Paesen <wouter@kangaroot.net>

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/alps.c
drivers/input/mouse/psmouse-base.c
drivers/input/mouse/sermouse.c
drivers/input/mouse/vsxxxaa.c