Input: cyapa - off by one in cyapa_update_fw_store()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 22 Jan 2015 16:20:16 +0000 (08:20 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 22 Jan 2015 16:23:15 +0000 (08:23 -0800)
commitb4810773754fe8371d17b1be49b1c15e8d9d4547
treee9de3badeca3973ed3ec27f5ef578ca7c519de2b
parenta535a9f16cc39b978857d584d6e5fb9840db7db7
Input: cyapa - off by one in cyapa_update_fw_store()

If "(count == NAME_MAX)" then we could end up putting the NUL terminator
one space beyond the end of the fw_name[] array.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/cyapa.c