From: Ryusuke Konishi Date: Mon, 11 May 2009 14:24:47 +0000 (+0900) Subject: nilfs2: check size of array structured data exchanged via ioctls X-Git-Tag: linux-omap-v2.6.30-rc6~19^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83aca8f480fcd2d9748301a5d060cf947dc75b94;p=pandora-kernel.git nilfs2: check size of array structured data exchanged via ioctls Although some ioctls of nilfs2 exchange data in the form of indirectly referenced array, some of them lack size check on the array elements. This inserts the missing checks and rejects requests if data of ioctl does not have a valid format. We usually don't have to check size of structures that we associated with ioctl commands because the size is tested implicitly for identifying ioctl command; the checks this patch adds are for the cases where the implicit check is not applied. Signed-off-by: Ryusuke Konishi --- Reading git-diff-tree failed