From: Sachin Prabhu Date: Tue, 17 Apr 2012 13:36:40 +0000 (+0100) Subject: Avoid beyond bounds copy while caching ACL X-Git-Tag: v3.2.19~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7d52ac86a9753520a696af25d333e3451eeae92;p=pandora-kernel.git Avoid beyond bounds copy while caching ACL commit 5794d21ef4639f0e33440927bb903f9598c21e92 upstream. When attempting to cache ACLs returned from the server, if the bitmap size + the ACL size is greater than a PAGE_SIZE but the ACL size itself is smaller than a PAGE_SIZE, we can read past the buffer page boundary. Signed-off-by: Sachin Prabhu Reported-by: Jian Li Signed-off-by: Trond Myklebust Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed