From: Dan Carpenter Date: Wed, 9 Feb 2011 09:40:12 +0000 (+0300) Subject: Staging: rts_pstor: fix read past end of buffer X-Git-Tag: v2.6.39-rc1~469^2~616 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e79f78b331632c1812ce9c07443550aa2b6c0fe;p=pandora-kernel.git Staging: rts_pstor: fix read past end of buffer We read one space past the end of the buffer because we add 1. Also I changed it to use ARRAY_SIZE() instead of manually calculating the size. Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed