From: Christopher Brannon Date: Mon, 21 Feb 2011 14:07:10 +0000 (+0000) Subject: Staging: speakup: fix an out-of-bounds error. X-Git-Tag: v2.6.39-rc1~469^2~425 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87be424a9a4be41df26b25b3360969211cedd5d1;p=pandora-kernel.git Staging: speakup: fix an out-of-bounds error. The cur_item variable from keyhelp.c is an index into a table of messages. The following condition should always hold: MSG_FUNCNAMES_START + cur_item <= MSG_FUNCNAMES_END. The check in keyhelp.c was wrong. It allowed cur_item to be incremented to an out-of-bounds value. Signed-off-by: Christopher Brannon Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed