From: Neil Horman Date: Thu, 23 Jun 2005 07:09:11 +0000 (-0700) Subject: [PATCH] add check to /proc/devices read routines X-Git-Tag: v2.6.13-rc1~68^2~454 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac20427ef6aa63da663bdc88b71d16f7394f5e23;p=pandora-kernel.git [PATCH] add check to /proc/devices read routines Patch to add check to get_chrdev_list and get_blkdev_list to prevent reads of /proc/devices from spilling over the provided page if more than 4096 bytes of string data are generated from all the registered character and block devices in a system Signed-off-by: Neil Horman Cc: Christoph Hellwig Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed