From: Dan Carpenter Date: Tue, 17 Apr 2012 06:47:25 +0000 (+0300) Subject: Staging: wlags49_h2: reading past the end of array X-Git-Tag: v3.5-rc1~145^2~229^2~156 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdf3480032fc900075c4bdb18271150aaa8a53a0;p=pandora-kernel.git Staging: wlags49_h2: reading past the end of array The original code had some confusion about the dimensions of the array. It should have been an array of 2 element arrays but it was declared as an array of 50 element arrays. The limitter on the outside array should have been ARRAY_SIZE(chan_freq_list) or 26 but instead 50 was used. It meant that we read past the end. It's probably harmless but it's obviously worth fixing. Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed