From: Adam B. Jerome Date: Wed, 12 Jul 2006 16:03:07 +0000 (-0700) Subject: [PATCH] /fs/proc/: 'larger than buffer size' memory accessed by clear_user() X-Git-Tag: v2.6.18-rc2~108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0635170b544b01b46a81b4ac5cff5020ab59d1fc;p=pandora-kernel.git [PATCH] /fs/proc/: 'larger than buffer size' memory accessed by clear_user() Address a potential 'larger than buffer size' memory access by clear_user(). Without this patch, this call to clear_user() can attempt to clear too many (tsz) bytes resulting in a wrong (-EFAULT) return code by read_kcore(). Signed-off-by: Adam B. Jerome Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed