From: Neil Horman Date: Tue, 6 Sep 2005 22:17:30 +0000 (-0700) Subject: [PATCH] Add missing overflow check in get_blkdev_list X-Git-Tag: v2.6.14-rc1~679 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f62c6d0a2607b2d1fdf280d4d1467a7a6e24c67d;p=pandora-kernel.git [PATCH] Add missing overflow check in get_blkdev_list Patch to clean up missing overflow check in get_blkdev_list. The printf which adds the "Block Devices" string in /proc/devices can overflow the presented page if get_chrdev_list eats up the entire 4k space. Signed-off-by: Neil Horman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed