Input: atkbd - fix overrun in atkbd_set_repeat_rate()
authorFlorin Malita <fmalita@gmail.com>
Wed, 23 Aug 2006 04:45:33 +0000 (00:45 -0400)
committerDmitry Torokhov <dtor@insightbb.com>
Wed, 23 Aug 2006 04:45:33 +0000 (00:45 -0400)
commit8ea371fb6df5a6e8056265e0089fd578e87797fc
tree4c3686a5c6ef6e386ad25998c98873ddc73ff709
parent2ffc1ccad85e8c2e81a6a4beb390fb4ce143256b
Input: atkbd - fix overrun in atkbd_set_repeat_rate()

This was introduced in commit 3d0f0fa0cb554541e10cb8cb84104e4b10828468:
bounds checking is performed against period[32] while indexing delay[4].

Spotted by Coverity, CID 1376.

Signed-off-by: Florin Malita <fmalita@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/atkbd.c