From: Dan Carpenter Date: Fri, 8 Nov 2013 09:46:10 +0000 (+0300) Subject: ASoC: rcar: off by one in rsnd_scu_set_route() X-Git-Tag: v3.13-rc1~2^2~2^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5f3d7af286a28e2fcc92debaba40844cb32bfb4;p=pandora-kernel.git ASoC: rcar: off by one in rsnd_scu_set_route() If "id == ARRAY_SIZE(routes)" then we read one space beyond the end of the routes[] array. Signed-off-by: Dan Carpenter Acked-by: Kuninori Morimoto Signed-off-by: Mark Brown --- Reading git-diff-tree failed