commit | 6102c48bd421074a33e102f2ebda3724e8d275f9 | [log] [tgz] |
---|---|---|
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | Mon Jan 07 22:03:51 2013 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jan 07 13:53:28 2013 -0800 |
tree | 44f791324fb19dba052e5eb61efe5afe324af6bd | |
parent | ae428655b826f2755a8101b27beda42a275ef8ad [diff] |
staging: speakup: avoid out-of-range access in synth_add() Check that array index is in-bounds before accessing the synths[] array. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Cc: stable <stable@vger.kernel.org> Cc: Nickolai Zeldovich <nickolai@csail.mit.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>